Makefile 384 B

12345678910111213141516171819202122232425
  1. BUILD=build/
  2. CLEAN=src/*.pyc src/optimize/*.pyc
  3. # Fix pdflatex search path
  4. TGT_DIR :=
  5. TGT_DOC :=
  6. # Default target is 'all'. The 'build' target is defined here so that all
  7. # sub rules.mk can add prerequisites to the 'build' target.
  8. all:
  9. build:
  10. d := tests/
  11. include base.mk
  12. include $(d)/rules.mk
  13. .PHONY: doc
  14. all: doc build
  15. clean:
  16. rm -rf $(CLEAN)
  17. $(TGT_DIR):
  18. mkdir -p $(TGT_DIR)