mirror of
https://github.com/codeplea/genann.git
synced 2026-09-17 06:23:43 +00:00
Track header dependencies in Makefile, fixes #62
This commit is contained in:
7
Makefile
7
Makefile
@@ -1,4 +1,4 @@
|
||||
CFLAGS = -Wall -Wshadow -O3 -g -march=native
|
||||
CFLAGS = -Wall -Wshadow -O3 -g -march=native -MMD
|
||||
LDLIBS = -lm
|
||||
|
||||
all: check example1 example2 example3 example4
|
||||
@@ -25,10 +25,11 @@ example3: example3.o genann.o
|
||||
|
||||
example4: example4.o genann.o
|
||||
|
||||
|
||||
clean:
|
||||
$(RM) *.o
|
||||
$(RM) *.o *.d
|
||||
$(RM) test example1 example2 example3 example4 *.exe
|
||||
$(RM) persist.txt
|
||||
|
||||
.PHONY: sigmoid threshold linear clean
|
||||
|
||||
-include $(wildcard *.d)
|
||||
|
||||
Reference in New Issue
Block a user