From: j8takagi Date: Fri, 15 Mar 2013 02:22:22 +0000 (+0900) Subject: EmacsLispのMakefileを追加 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4fb9f4972286c42ccb26cdeac06f81124179a2d;p=makefiles.git EmacsLispのMakefileを追加 --- diff --git a/emacslisp_mk/Makefile b/emacslisp_mk/Makefile new file mode 100644 index 0000000..ad5b887 --- /dev/null +++ b/emacslisp_mk/Makefile @@ -0,0 +1,18 @@ +EMACS := emacs + +COMPILE.el := $(EMACS) -batch -f batch-byte-compile + +ELFILES := $(wildcard *.el) +ELCFILES := $(addsuffix c,$(ELFILES)) + +.PHONY: all install clean + +all: $(ELCFILES) + +install: all + +%.elc: %.el + $(COMPILE.el) $< + +clean: + $(RM) $(ELCFILES)