aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/GNUmakefile
diff options
context:
space:
mode:
authorGravatar Tom Willemse2017-03-05 22:10:40 -0800
committerGravatar Tom Willemse2017-03-05 22:10:40 -0800
commit4d01c6d8bf725cdd98940566f772c874d6e0025e (patch)
tree6ed1a46cd4dc8d22c101f5634a2aa8c4c955f57f /emacs/.emacs.d/GNUmakefile
parentc727acf496fa02790266de2a62fafddf75b6e659 (diff)
downloadnew-dotfiles-4d01c6d8bf725cdd98940566f772c874d6e0025e.tar.gz
new-dotfiles-4d01c6d8bf725cdd98940566f772c874d6e0025e.zip
Make all intermediate files secondary
This way make won’t remove them after compilation is done. Normally this might be useful, but in the case of Emacs Lisp being generated from Org files, it’s really useful to have the original lisp files after compiling them to elc files.
Diffstat (limited to 'emacs/.emacs.d/GNUmakefile')
-rw-r--r--emacs/.emacs.d/GNUmakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/.emacs.d/GNUmakefile b/emacs/.emacs.d/GNUmakefile
index bbe5a76..dd2bf07 100644
--- a/emacs/.emacs.d/GNUmakefile
+++ b/emacs/.emacs.d/GNUmakefile
@@ -1,5 +1,7 @@
include ../../dotfiles.mk
+.SECONDARY:
+
AUTOLOADS_FILE = site-lisp/site-autoloads.el
UNWANTED = $(AUTOLOADS_FILE) site-lisp/flycheck_% site-lisp/flycheck-%
SITE_LISPS = $(addsuffix c,$(filter-out $(UNWANTED),$(wildcard site-lisp/*.el)))