Makefile 385 B

123456789101112131415161718192021222324
  1. ifeq ($(GUILE),)
  2. GUILE := guile
  3. endif
  4. CHECK_MODULES := \
  5. tests/context-free.scm \
  6. tests/regular.scm \
  7. tests/parse-context-free.scm \
  8. tests/bench-context-free.scm \
  9. $(EMPTY)
  10. TESTS := \
  11. $(CHECK_MODULES) \
  12. $(EMPTY)
  13. check: $(TESTS)
  14. for t in $(TESTS); do \
  15. GUILE_LOAD_PATH=$(srcdir):$(GUILE_LOAD_PATH) \
  16. $(GUILE) --auto-compile $$t; \
  17. done
  18. clean:
  19. rm -f *.log