CC = gcc all: ../dist/example_client ../dist/example_server ../dist/example_client: client/*.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 $@