Always compile from the top-level Makefile

This commit is contained in:
Tom Willemse 2015-04-27 12:12:16 +02:00
parent 7619a1b0d2
commit 1df8832757
2 changed files with 5 additions and 8 deletions

View file

@ -1,5 +1,7 @@
.PHONY: all site-lisp .PHONY: all site-lisp
all: init2.elc init.elc site-lisp/ all: init2.elc init.elc site-lisp/my-smt.elc site-lisp/appt-init.elc \
site-lisp/jabber-init.elc site-lisp/org-init.elc \
site-lisp/gnus-init.elc site-lisp/drd.elc
%.elc: %.el %.elc: %.el
@echo "ELC $<" @echo "ELC $<"
@ -10,9 +12,6 @@ init2.el: init.org org/intro.org
@echo "OBT $<" @echo "OBT $<"
@emacs -Q -batch -l "ob-tangle" -eval "(org-babel-tangle-file \"init.org\")" @emacs -Q -batch -l "ob-tangle" -eval "(org-babel-tangle-file \"init.org\")"
%/: %
$(MAKE) -C "$(CURDIR)/$*"
rudel: rudel:
git clone git://github.com/scymtym/rudel.git packages/rudel git clone git://github.com/scymtym/rudel.git packages/rudel
emacs -Q --batch --visit packages/rudel/rudel-compile.el \ emacs -Q --batch --visit packages/rudel/rudel-compile.el \

View file

@ -1,5 +1,3 @@
.PHONY: all .PHONY: all
all: appt-init.elc jabber-init.elc org-init.elc gnus-init.elc drd.elc all:
$(MAKE) -C ../
%.elc: %.el
emacs -Q -batch -eval "(byte-compile-file \"$<\")"