public
Description: run your personal unit tests in Emacs
Homepage: http://hober.backpackit.com/pub/1233865
Clone URL: git://github.com/hober/selftest-el.git
Click here to lend your support to: selftest-el and make a donation at www.pledgie.com !
selftest-el / Makefile
100644 15 lines (11 sloc) 0.364 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Requires GNU make.
 
EMACS=emacs -q --no-site-file
 
ELS = $(shell ls -1 *.el)
ELCS = $(ELS:.el=.elc)
all: $(ELCS)
make $(ELCS)
 
.el.elc:
$(EMACS) -batch -L . \
-eval "(setq max-lisp-eval-depth 1500 max-specpdl-size 3000)" \
-eval "(mapc (lambda (dir) (add-to-list 'load-path dir)) (parse-colon-path (getenv \"LOAD_PATH\")))" \
-f batch-byte-compile $*.el