28 lines
764 B
Makefile
28 lines
764 B
Makefile
CC = gcc
|
|
|
|
all: ../dist/client_install ../dist/client_remove ../dist/client_update ../dist/client_check ../dist/client_list ../dist/server
|
|
|
|
../dist/client_install: client/install.c ../dist/libmp.so
|
|
mkdir -pv ../dist
|
|
$(CC) -L../dist $< -lmp -o $@
|
|
|
|
../dist/client_remove: client/remove.c ../dist/libmp.so
|
|
mkdir -pv ../dist
|
|
$(CC) -L../dist $< -lmp -o $@
|
|
|
|
../dist/client_update: client/update.c ../dist/libmp.so
|
|
mkdir -pv ../dist
|
|
$(CC) -L../dist $< -lmp -o $@
|
|
|
|
../dist/client_check: client/check.c ../dist/libmp.so
|
|
mkdir -pv ../dist
|
|
$(CC) -L../dist $< -lmp -o $@
|
|
|
|
../dist/client_list: client/list.c ../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 $@
|