16 lines
408 B
Makefile
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 $@
|