libmp/examples/Makefile
2024-07-08 07:24:39 +03:00

16 lines
408 B
Makefile

CC = gcc
all: ../dist/client_install ../dist/client_remove ../dist/server
../dist/client_install: client/install.c client/*.h ../dist/libmp.so
mkdir -pv ../dist
$(CC) -L../dist $< -lmp -o $@
../dist/client_remove: client/remove.c client/*.h ../dist/libmp.so
mkdir -pv ../dist
$(CC) -L../dist $< -lmp -o $@
../dist/server: server/*.c ../dist/libmp.so
mkdir -pv ../dist
$(CC) -L../dist $< -lmp -o $@