]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/hydra/Makefile
Merge commit '7783f89cdbb3e3ba57f232552729715148e0b9a1' from hydra
[gnu-emacs-elpa] / packages / hydra / Makefile
index 97bcea6d911b3e85c270ac8297053d8800406384..35709e19d7eeaf3013d5bf09e02f2ce3369b0a58 100644 (file)
@@ -1,12 +1,18 @@
-EMACS = emacs
-# EMACS = emacs-24.3
+emacs ?= emacs
+# emacs = emacs-24.3
+
+LOAD = -l lv.el -l hydra.el -l hydra-test.el
 
 .PHONY: all test clean
 
 all: test
 
 test:
-       $(EMACS) -batch -l hydra.el -l hydra-test.el -f ert-run-tests-batch-and-exit
+       $(emacs) -batch $(LOAD) -f ert-run-tests-batch-and-exit
+
+compile:
+       $(emacs) -q $(LOAD) -l hydra-init.el
+       make clean
 
 clean:
        rm -f *.elc