all: deriv f.c

clean:
	rm -f deriv f.c

f.c: f.mpl
	maple -q f.mpl

deriv: deriv.c f.c
	gcc -O3 -o deriv deriv.c f.c -lm
