libmp/examples/Makefile

28 lines
764 B
Makefile
Raw Normal View History

2024-06-20 00:34:32 +00:00
CC = gcc
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
../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 $@
../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 $@
../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 $@
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 $@