Genetic Turmit Evolver
python
c
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 369B

1234567891011121314151617
  1. PYTHON=/usr/bin/python3
  2. CFLAGS=-Wall -Werror -O0 -g
  3. CC=gcc $(CFLAGS)
  4. #CFLAGS=-Wall -Werror
  5. all: cturmit*.so
  6. cturmit*.so: setup.py build/lib.*/cturmit*.so
  7. cp build/lib.*/cturmit*.so ./
  8. build/lib.*/cturmit*.so: cturmit.c cturmit.h turmit.c turmit.h
  9. make clean; CFLAGS="$(CFLAGS)" $(PYTHON) setup.py --verbose build
  10. .PHONY: clean
  11. clean:
  12. -rm -Rf build cturmit*.so