genann/Makefile
Andrew Jeffery e4e40304e0 Makefile: Use standard make variables and recipes
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2017-10-22 09:54:56 +10:30

26 lines
312 B
Makefile

CCFLAGS = -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