diff --git a/Makefile b/Makefile index bc28eb4b6..59e8cf61e 100644 --- a/Makefile +++ b/Makefile @@ -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')