2024-06-20 00:34:32 +00:00
|
|
|
CC = gcc
|
|
|
|
|
2024-07-11 04:31:36 +00:00
|
|
|
all: ../dist/client_install ../dist/client_remove ../dist/client_update ../dist/client_check ../dist/client_list ../dist/server
|
2024-06-20 00:34:32 +00:00
|
|
|
|
2024-08-03 19:23:32 +00:00
|
|
|
../dist/client_install: client/install.c ../dist/libmp.so
|
2024-06-20 00:34:32 +00:00
|
|
|
mkdir -pv ../dist
|
2024-06-22 01:18:00 +00:00
|
|
|
$(CC) -L../dist $< -lmp -o $@
|
|
|
|
|
2024-08-03 19:23:32 +00:00
|
|
|
../dist/client_remove: client/remove.c ../dist/libmp.so
|
2024-07-08 04:24:39 +00:00
|
|
|
mkdir -pv ../dist
|
|
|
|
$(CC) -L../dist $< -lmp -o $@
|
|
|
|
|
2024-08-03 19:23:32 +00:00
|
|
|
../dist/client_update: client/update.c ../dist/libmp.so
|
2024-07-11 04:31:36 +00:00
|
|
|
mkdir -pv ../dist
|
|
|
|
$(CC) -L../dist $< -lmp -o $@
|
|
|
|
|
2024-08-03 19:23:32 +00:00
|
|
|
../dist/client_check: client/check.c ../dist/libmp.so
|
2024-07-11 04:31:36 +00:00
|
|
|
mkdir -pv ../dist
|
|
|
|
$(CC) -L../dist $< -lmp -o $@
|
|
|
|
|
2024-08-03 19:23:32 +00:00
|
|
|
../dist/client_list: client/list.c ../dist/libmp.so
|
2024-07-11 04:31:36 +00:00
|
|
|
mkdir -pv ../dist
|
|
|
|
$(CC) -L../dist $< -lmp -o $@
|
|
|
|
|
2024-07-08 04:24:39 +00:00
|
|
|
../dist/server: server/*.c ../dist/libmp.so
|
2024-06-22 01:18:00 +00:00
|
|
|
mkdir -pv ../dist
|
|
|
|
$(CC) -L../dist $< -lmp -o $@
|