summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2020-06-26 09:28:38 +0100
committerBasil L. Contovounesios <contovob@tcd.ie>2020-06-26 09:28:38 +0100
commit2dbe3ccb1bc5e94188a3c180165198ad63c1f1f9 (patch)
tree225d2799009748eceb367fccc808b8b5a3a548e5 /Makefile
parent6c8fa1b4961e279ae63130902996c5f71a2e64e4 (diff)
parentc2cbbd99e2b6b9b79c15acec025333089dbea920 (diff)
downloadbog-2dbe3ccb1bc5e94188a3c180165198ad63c1f1f9.tar.gz
Merge branch 'blc/lex' [#12]
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e3d5987..d85bb40 100644
--- a/Makefile
+++ b/Makefile
@@ -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 $<