1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
.POSIX: .PHONY: all compile test clean .SUFFIXES: .el .elc EMACS = emacs BYTEC = shell-command+.elc all: compile compile: $(BYTEC) test: compile $(EMACS) --version $(EMACS) -Q --batch -L . -l shell-command+-tests.el -f ert-run-tests-batch-and-exit clean: $(RM) $(BYTEC) compat.info .el.elc: $(EMACS) -Q --batch -L . -f batch-byte-compile $<