2024-06-20 00:34:32 +00:00
|
|
|
CC = gcc
|
|
|
|
|
2024-06-28 18:48:04 +00:00
|
|
|
all: ../dist/example_client ../dist/example_server
|
2024-06-20 00:34:32 +00:00
|
|
|
|
2024-06-28 18:48:04 +00:00
|
|
|
../dist/example_client: client/*.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/example_server: server/*.c ../dist/libmp.so
|
|
|
|
mkdir -pv ../dist
|
|
|
|
$(CC) -L../dist $< -lmp -o $@
|