1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
EMACS = emacs ifdef emacs EMACS = $(emacs) endif EMACS_CMD := $(EMACS) -Q -batch -L . EL := ssh-deploy-diff-mode.el ssh-deploy-hydra.el ssh-deploy-test.el ssh-deploy.el ELC := $(EL:.el=.elc) .PHONY: test test: $(EMACS_CMD) -l ssh-deploy-test.el .PHONY: clean clean: rm -f $(ELC) .PHONY: compile compile: $(EMACS_CMD) -f batch-byte-compile $(EL)