#Makefile for test CFLAGS = -Wall -std=c11 test: test.o curve.o gcc $(CFLAGS) -o $@ $^ %.o : %.c gcc $(CFLAGS) -c -o $@ $< clean: rm test *.o *.*~