diff --git a/makefile b/makefile index 552d340..27781e8 100644 --- a/makefile +++ b/makefile @@ -8,7 +8,7 @@ test: $(TARGETS) $(OUTPUTS) diagram: $(DIAGRAMS) %: %.c - gcc -Wall -O3 -o $@ $< + gcc -lm -Wall -O3 -o $@ $< %.png: % time ./$<