diff --git a/emacsd.mk b/emacsd-defs.mk similarity index 59% rename from emacsd.mk rename to emacsd-defs.mk index 470f8f4..a49c814 100644 --- a/emacsd.mk +++ b/emacsd-defs.mk @@ -21,19 +21,6 @@ CEDET_HOME := $(subst /cygdrive/d,,$(LISP_DIR)/cedet) #$(error fixpath: '$(call fixpath,$(HOME))') -# ######################################################################### -# general pattern rules -# ######################################################################### -%/elisp-all: - $(MAKE) -C $* $(@F) - -%.elc : %.el - $(EMACS) -batch -q -no-site-file\ - $(addprefix -L ,$(LOAD_PATH))\ - $(EMACSFLAGS)\ - -f batch-byte-compile $(call emacspath,$?) - - # Local Variables: # tab-width: 2 # End: diff --git a/emacsd-rules.mk b/emacsd-rules.mk new file mode 100644 index 0000000..1a6ea95 --- /dev/null +++ b/emacsd-rules.mk @@ -0,0 +1,11 @@ +# ######################################################################### +# general emacs lisp pattern rules +# ######################################################################### +%/elisp-all: + $(MAKE) -C $* $(@F) + +%.elc : %.el + $(EMACS) -batch -q -no-site-file\ + $(addprefix -L ,$(LOAD_PATH))\ + $(EMACSFLAGS)\ + -f batch-byte-compile $(call emacspath,$?)