]> git.donarmstrong.com Git - lib.git/commitdiff
compile .el files for faster loading
authorDon Armstrong <don@donarmstrong.com>
Wed, 17 Jan 2018 00:06:20 +0000 (16:06 -0800)
committerDon Armstrong <don@donarmstrong.com>
Wed, 17 Jan 2018 00:06:20 +0000 (16:06 -0800)
emacs_el/configuration/Makefile

index f119086b2ca14fedcd31dedb1a8ea40580bfa916..667985fced378caa5f4efaa1d2f4380a831c72b0 100644 (file)
@@ -8,13 +8,14 @@ EL_FILES=
 ORG_EL_FILES=
 ifeq ($(strip $(WHICH_EMACS)),)
 ORG_EL_FILES=$(patsubst %.org,%.el,$(wildcard *.org))
 ORG_EL_FILES=
 ifeq ($(strip $(WHICH_EMACS)),)
 ORG_EL_FILES=$(patsubst %.org,%.el,$(wildcard *.org))
+ORG_ELC_FILES=$(patsubst %.org,%.elc,$(wildcard *.org))
 EL_FILES=$(sort $(wildcard *.el) $(ORG_EL_FILES))
 ELC_FILES=$(patsubst %.el,%.elc,$(EL_FILES))
 endif
 
 LIB_PATH=-L . -L .. -L ../helm
 
 EL_FILES=$(sort $(wildcard *.el) $(ORG_EL_FILES))
 ELC_FILES=$(patsubst %.el,%.elc,$(EL_FILES))
 endif
 
 LIB_PATH=-L . -L .. -L ../helm
 
-all: $(ORG_EL_FILES)
+all: $(ORG_ELC_FILES)
 
 EMACS=emacs
 
 
 EMACS=emacs