EMACS := ${NIX_LINK}/bin/emacs
# The first target is the default. `all` is typically defined here.
all: init.elc
# These targets don't pertain to files
.PHONY: all clean
init.elc: init.el
$(EMACS) --batch --no-init-file --funcall batch-byte-compile init.el
clean:
rm init.elc
emacs/.emacs.d/Makefile (view raw)