]> code.delx.au - gnu-emacs-elpa/blob - Makefile
Strip headers. Use make dependencies.
[gnu-emacs-elpa] / Makefile
1 EMACS = emacs
2 DEPENDENCIES = libraries/ert-async.el libraries/js2-mode.el
3
4 all: clean compile test
5
6 bench: ${DEPENDENCIES}
7 ${EMACS} -Q \
8 -L . \
9 -L libraries \
10 -l context-coloring \
11 -l benchmark/context-coloring-benchmark \
12 -f context-coloring-benchmark-run
13
14 compile: ${DEPENDENCIES}
15 ${EMACS} -Q -batch \
16 -L . \
17 -L libraries \
18 -f batch-byte-compile *.el libraries/*.el
19
20 clean:
21 rm -f *.elc libraries/*.elc ${DEPENDENCIES}
22
23 ${DEPENDENCIES}:
24 ${EMACS} -Q -batch \
25 -l scripts/download-dependencies.el
26
27 test: ${DEPENDENCIES}
28 ${EMACS} -Q -batch \
29 -L . \
30 -L libraries \
31 -l ert \
32 -l ert-async \
33 -l context-coloring \
34 -l test/context-coloring-test.el \
35 -f ert-run-tests-batch-and-exit
36
37 .PHONY: all bench compile clean test