2 EMACS
:= emacs
-Q
-batch
4 # additional emacs loadpath
5 LOADPATH
:= -L .
-L extensions
8 EL
:= $(filter-out anything-startup.el
, $(wildcard anything
*.el
) $(wildcard extensions
/*.el
))
13 .PHONY
: clean batch-compile
15 all: clean batch-compile
18 $(EMACS
) $(LOADPATH
) -f batch-byte-compile
$<
20 # compile needed files
23 # compile all files at once
25 $(EMACS
) $(LOADPATH
) -f batch-byte-compile
$(EL
)
27 # remove all generated files