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.
This commit is contained in:
parent
c727acf496
commit
4d01c6d8bf
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
include ../../dotfiles.mk
|
include ../../dotfiles.mk
|
||||||
|
|
||||||
|
.SECONDARY:
|
||||||
|
|
||||||
AUTOLOADS_FILE = site-lisp/site-autoloads.el
|
AUTOLOADS_FILE = site-lisp/site-autoloads.el
|
||||||
UNWANTED = $(AUTOLOADS_FILE) site-lisp/flycheck_% site-lisp/flycheck-%
|
UNWANTED = $(AUTOLOADS_FILE) site-lisp/flycheck_% site-lisp/flycheck-%
|
||||||
SITE_LISPS = $(addsuffix c,$(filter-out $(UNWANTED),$(wildcard site-lisp/*.el)))
|
SITE_LISPS = $(addsuffix c,$(filter-out $(UNWANTED),$(wildcard site-lisp/*.el)))
|
||||||
|
|
Loading…
Reference in a new issue