blob: 1850c7639cae1dcc317ad28f1f1b7b363819d671 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
-include ../config.mk
include ../default.mk
LOAD_PATH += -L ../lisp
test: lisp
@printf " Testing...\n"
@$(EMACS_BATCH) -l $(PKG)-tests -f ert-run-tests-batch-and-exit
test-interactive:
@$(EMACS_INTR) -l $(PKG)-tests --eval "(ert t)"
lisp: $(addprefix ../lisp/,$(ELCS)) $(PKG)-tests.elc
%.elc: %.el
@printf "Compiling $<\n"
@$(EMACS_BATCH) --funcall batch-byte-compile $<
clean:
@printf " Cleaning test/*...\n"
@rm -rf $(PKG)-tests.elc
|