aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 3fd8200ce572f537c4441d4662f5e96bcaf7714e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.POSIX:
EMACS =		emacs

compile: sam.elc sam-test.elc

sam-test.elc: sam.elc

check: sam-test.elc
	${EMACS} -Q --batch -L . -l sam-test.elc -f ert-run-tests-batch

clean:
	rm -f *.elc

.SUFFIXES: .el .elc
.el.elc:
	${EMACS} -Q --batch -L . -f batch-byte-compile $<