* Makefile (check): New rule.
[elisp/flim.git] / Makefile
index e93cd7f..0882879 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -51,4 +51,11 @@ release:
                ln -s ../flim/$(PACKAGE)-$(VERSION).tar.gz .
 
 ew-parse.el: ew-parse.scm lalr-el.scm
-       -scm -f lalr-el.scm -f ew-parse.scm > states.output
+       -scm -f lalr-el.scm -f ew-parse.scm > ew-parse.out
+
+check:
+       $(EMACS) -q -batch -eval '(setq load-path (cons "." load-path))' -l ./TESTPAT -eval '(report)'
+
+benchmark:
+       $(EMACS) -q -batch -eval '(setq load-path (cons "." load-path))' -l ./BENCHMARK -eval '(report)'
+