mirror of
https://github.com/codeplea/genann.git
synced 2025-10-03 16:51:51 +00:00
Makefile: Add test and example programs to clean target
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,10 +1,8 @@
|
|||||||
CFLAGS = -Wall -Wshadow -O2 -g
|
CFLAGS = -Wall -Wshadow -O2 -g
|
||||||
LDLIBS = -lm
|
LDLIBS = -lm
|
||||||
|
|
||||||
|
|
||||||
all: test example1 example2 example3 example4
|
all: test example1 example2 example3 example4
|
||||||
|
|
||||||
|
|
||||||
test: test.o genann.o
|
test: test.o genann.o
|
||||||
|
|
||||||
check: test
|
check: test
|
||||||
@@ -21,5 +19,5 @@ example4: example4.o genann.o
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) *.o
|
$(RM) *.o
|
||||||
$(RM) *.exe
|
$(RM) test example1 example2 example3 example4 *.exe
|
||||||
$(RM) persist.txt
|
$(RM) persist.txt
|
||||||
|
Reference in New Issue
Block a user