CFLAGS = -Wall -std=c11 #-D NDEBUG LDLIBS = -lm CC = tcc .PHONEY : all all:plot.png plot.png: plot.gpi data.txt gnuplot plot.gpi data.txt:prog ./prog > data.txt out-2.txt: main ./$< > $@ main: main.o fun1.o fun2.o main.o fun1.o fun2.o: funs.h out.txt:prep ./prep > out.txt .PHONEY: test test: prep.c gcc $(CFLAGS) -E -P $< .PHONEY:clean clean: rm --force *.o prep main