SRC := src CFLAGS := -I../include -L../lib -lftpc .PHONY: clean all: test1 test2 test3 test%: $(SRC)/test%.c $(CC) $(CFLAGS) -o $@ $^ ./$@ clean: rm -f test1