git.mkを追加
[exopen-mode.git] / Makefile
1 TARGETS := exopen-mode.el
2 INSTALLDIR := ~/.emacs.d/dev
3
4 .PHONY: install
5
6 EMACS := emacs
7 COMPILE.el := $(EMACS) -batch -f batch-byte-compile
8 INSTALL := install
9 INSTALLFLAG :=
10
11 $(addsuffix c,$(TARGETS)):
12
13 install: $(TARGETS) $(addsuffix c,$(TARGETS))
14         $(INSTALL) $^ $(INSTALLDIR)/
15
16 clean:
17         $(RM) *.elc
18
19 %.elc: %.el
20         $(COMPILE.el) $<
21
22 include git.mk