libmp/examples/Makefile

12 lines
261 B
Makefile

CC = gcc
all: ../dist/example_pool ../dist/example_server
../dist/example_pool: pool/*.c ../dist/libmp.so
mkdir -pv ../dist
$(CC) -L../dist $< -lmp -o $@
../dist/example_server: server/*.c ../dist/libmp.so
mkdir -pv ../dist
$(CC) -L../dist $< -lmp -o $@