anything.el: Delete extra line of document of bug report in header
[anything-config.git] / Makefile
blob740ca399635a53626def29e1309a8681af3184d5
1 # emacs invocation
2 EMACS := emacs -Q -batch
4 # additional emacs loadpath
5 LOADPATH := -L . -L extensions
7 # files to compile
8 EL := $(filter-out anything-startup.el, $(wildcard anything*.el) $(wildcard extensions/*.el))
10 # compiled files
11 ELC := $(EL:.el=.elc)
13 .PHONY: clean batch-compile
15 all: clean batch-compile
17 $(ELC): %.elc: %.el
18 $(EMACS) $(LOADPATH) -f batch-byte-compile $<
20 # compile needed files
21 compile: $(ELC)
23 # compile all files at once
24 batch-compile:
25 $(EMACS) $(LOADPATH) -f batch-byte-compile $(EL)
27 # remove all generated files
28 clean:
29 rm -f $(ELC)