From 4d01c6d8bf725cdd98940566f772c874d6e0025e Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 5 Mar 2017 22:10:40 -0800 Subject: 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. --- emacs/.emacs.d/GNUmakefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'emacs/.emacs.d') 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))) -- cgit v1.2.3-54-g00ecf