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