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

24 lines
364 B
Makefile

CFLAGS = -Wall -Wshadow -O3 -g -march=native
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) test example1 example2 example3 example4 *.exe
$(RM) persist.txt