summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 25c4cdc..5476705 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,7 +1,7 @@
-include ../config.mk
include ../default.mk
-LOAD_PATH += -L $(TOP)test
+LOAD_PATH += -L $(TOP)test
test: lisp
@printf " Testing...\n"
@@ -10,6 +10,10 @@ test: lisp
lisp: ../lisp/$(PKG).elc $(PKG)-test.elc
+%.elc: %.el
+ @printf "Compiling $<\n"
+ @$(EMACS) -Q --batch $(EMACS_ARGS) $(LOAD_PATH) -f batch-byte-compile $<
+
clean:
@printf " Cleaning test/*...\n"
@rm -rf $(PKG)-test.elc