diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,17 +1,18 @@ +EMACS ?= emacs LOAD_PATH ?= -BATCH = emacs -Q --batch $(LOAD_PATH) +BATCH = $(EMACS) -Q --batch $(LOAD_PATH) all: bog.elc bog-autoloads.el .PHONY: test -test: bog.elc - @$(BATCH) -L . -l bog-tests.el \ +test: bog.elc bog-tests.elc + @$(BATCH) -L . -l bog-tests.elc \ --eval "(ert-run-tests-batch-and-exit '(not (tag interactive)))" .PHONY: clean clean: - $(RM) bog.elc bog-autoloads.el + $(RM) bog.elc bog-autoloads.el bog-tests.elc %.elc: %.el @$(BATCH) -L . -f batch-byte-compile $< |