Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (20 sloc) 0.571 kb
# emacs invocation
EMACS := emacs -Q -batch
# additional emacs loadpath
LOADPATH := -L . -L extensions
# files to compile
EL := $(filter-out anything-startup.el, $(wildcard anything*.el) $(wildcard extensions/*.el))
# compiled files
ELC := $(EL:.el=.elc)
.PHONY: clean batch-compile
all: clean batch-compile
$(ELC): %.elc: %.el
$(EMACS) $(LOADPATH) -f batch-byte-compile $<
# compile needed files
compile: $(ELC)
# compile all files at once
batch-compile:
$(EMACS) $(LOADPATH) -f batch-byte-compile $(EL)
# remove all generated files
clean:
rm -f $(ELC)
Jump to Line
Something went wrong with that request. Please try again.