projects
/
makefiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dce402
)
EmacsLispのMakefileを追加
author
j8takagi
<j8takagi@nifty.com>
Fri, 15 Mar 2013 02:22:22 +0000
(11:22 +0900)
committer
j8takagi
<j8takagi@nifty.com>
Fri, 15 Mar 2013 02:22:22 +0000
(11:22 +0900)
emacslisp_mk/Makefile
[new file with mode: 0644]
patch
|
blob
diff --git a/emacslisp_mk/Makefile
b/emacslisp_mk/Makefile
new file mode 100644
(file)
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)