genann/Makefile
Andrew Jeffery 01511920e2 Makefile: Fix CFLAGS variable name
CCFLAGS is non-standard, and thus ignored now that standard make rules are
used.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2017-12-18 16:59:40 +10:30

26 lines
311 B
Makefile

CFLAGS = -Wall -Wshadow -O2 -g
LDLIBS = -lm
all: test example1 example2 example3 example4
test: test.o genann.o
check: test
./$^
example1: example1.o genann.o
example2: example2.o genann.o
example3: example3.o genann.o
example4: example4.o genann.o
clean:
$(RM) *.o
$(RM) *.exe
$(RM) persist.txt