summary refs log tree commit diff stats
path: root/emacs/.emacs.d/Makefile
blob: 71415d56bddc2e3a68bec3ef58cbbc91bc3b5cfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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