From c4fb9f4972286c42ccb26cdeac06f81124179a2d Mon Sep 17 00:00:00 2001 From: j8takagi Date: Fri, 15 Mar 2013 11:22:22 +0900 Subject: [PATCH] =?utf8?q?EmacsLisp=E3=81=AEMakefile=E3=82=92=E8=BF=BD?= =?utf8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- emacslisp_mk/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 emacslisp_mk/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) -- 2.18.0