Refactor make core (more flexible)

This commit is contained in:
Henrik Lissner 2017-06-07 17:20:29 +02:00
parent 3b4517e7bd
commit cd078e5e5c
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -27,7 +27,7 @@ compile: init.el clean
@$(EMACS) -f doom/compile
core: init.el clean
@$(EMACS) -f doom/compile -- init.el core/{,autoload/}*.el
@$(EMACS) -f doom/compile -- init.el $(shell find core/ -maxdepth 2 -type f -name '*.el')
$(MODULES): init.el .local/autoloads.el
@rm -fv $(shell find $@ -maxdepth 2 -type f -name '*.elc')