1 | # |
---|
2 | # Makefile (to byte-compile) |
---|
3 | # |
---|
4 | EMACS=emacs |
---|
5 | #EMACS=/Applications/Emacs.app/Contents/MacOS/bin/emacs |
---|
6 | |
---|
7 | .SUFFIXES: |
---|
8 | .SUFFIXES: .el .elc |
---|
9 | .el.elc: |
---|
10 | $(EMACS) -batch -q -no-site-file -f batch-byte-compile $< |
---|
11 | |
---|
12 | all: nt-macros.elc nt-readval.elc nt-string.elc nt-utf8.elc nt-bocu.elc nt-file.elc nt-english.elc \ |
---|
13 | pdicv-core.elc pdicv-search.elc pdicv-eijiro.elc pdicv-mode.elc pdicviewer.elc |
---|
14 | |
---|
15 | clean: |
---|
16 | rm -f *.elc *~ |
---|
17 | |
---|
18 | nt-macros.elc: nt-macros.el |
---|
19 | |
---|
20 | nt-readval.elc: nt-readval.el |
---|
21 | |
---|
22 | nt-string.elc: nt-string.el # requires nt-macros |
---|
23 | $(EMACS) -batch -q -no-site-file -l nt-macros.elc -f batch-byte-compile $< |
---|
24 | |
---|
25 | nt-utf8.elc: nt-utf8.el |
---|
26 | |
---|
27 | nt-bocu.elc: nt-bocu.el # requires nt-utf8 |
---|
28 | $(EMACS) -batch -q -no-site-file -l nt-utf8.elc -f batch-byte-compile $< |
---|
29 | |
---|
30 | nt-file.elc: nt-file.el |
---|
31 | |
---|
32 | nt-english.elc: nt-english.el |
---|
33 | |
---|
34 | pdicv-core.elc: pdicv-core.el # nt-macros.elc nt-readval.elc nt-string.elc nt-bocu.elc nt-file.elc nt-english.elc |
---|
35 | $(EMACS) -batch -q -no-site-file -l nt-macros.elc -l nt-readval.elc -l nt-string.elc -l nt-utf8.elc -l nt-bocu.elc -l nt-file.elc -l nt-english.elc -f batch-byte-compile $< |
---|
36 | |
---|
37 | ## defface may cause warnings on several environment; ignore them. |
---|
38 | |
---|
39 | pdicv-search.elc: pdicv-search.el # requires nt-macros, nt-bocu, pdicv-core |
---|
40 | $(EMACS) -batch -q -no-site-file -l nt-macros.elc -l nt-readval.elc -l nt-string.elc -l nt-utf8.elc -l nt-bocu.elc -l nt-file.elc -l nt-english.elc -l pdicv-core.elc -f batch-byte-compile $< |
---|
41 | |
---|
42 | pdicv-eijiro.elc: pdicv-eijiro.el # requires pdicv-search |
---|
43 | $(EMACS) -batch -q -no-site-file -l nt-macros.elc -l nt-readval.elc -l nt-string.elc -l nt-utf8.elc -l nt-bocu.elc -l nt-file.elc -l nt-english.elc -l pdicv-core.elc -l pdicv-search.elc -f batch-byte-compile $< |
---|
44 | |
---|
45 | pdicv-mode.elc: pdicv-mode.el pdicv-core.elc pdicv-search.elc pdicv-eijiro.elc |
---|
46 | $(EMACS) -batch -q -no-site-file -l nt-macros.elc -l nt-readval.elc -l nt-string.elc -l nt-utf8.elc -l nt-bocu.elc -l nt-file.elc -l nt-english.elc -l pdicv-core.elc -l pdicv-search.elc -l pdicv-eijiro.elc -f batch-byte-compile $< |
---|
47 | |
---|
48 | pdicviewer.elc: pdicviewer.el pdicv-core.elc pdicv-search.elc pdicv-eijiro.elc |
---|
49 | $(EMACS) -batch -q -no-site-file -l nt-macros.elc -l nt-readval.elc -l nt-string.elc -l nt-utf8.elc -l nt-bocu.elc -l nt-file.elc -l nt-english.elc -l pdicv-core.elc -l pdicv-search.elc -l pdicv-eijiro.elc -l pdicv-mode.elc -f batch-byte-compile $< |
---|
50 | |
---|