You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 610B

12345678910111213141516171819202122232425262728293031323334
  1. CFLAGS = -Wall -Wshadow -O3 -g -march=native
  2. LDLIBS = -lm
  3. all: check example1 example2 example3 example4
  4. sigmoid: CFLAGS += -Dgenann_act=genann_act_sigmoid_cached
  5. sigmoid: all
  6. threshold: CFLAGS += -Dgenann_act=genann_act_threshold
  7. threshold: all
  8. linear: CFLAGS += -Dgenann_act=genann_act_linear
  9. linear: all
  10. test: test.o genann.o
  11. check: test
  12. ./$^
  13. example1: example1.o genann.o
  14. example2: example2.o genann.o
  15. example3: example3.o genann.o
  16. example4: example4.o genann.o
  17. clean:
  18. $(RM) *.o
  19. $(RM) test example1 example2 example3 example4 *.exe
  20. $(RM) persist.txt
  21. .PHONY: sigmoid threshold linear clean