Simplify output of make targets

This commit is contained in:
Tom Willemse 2015-04-08 15:15:36 +02:00
parent 9783c7a6c6
commit 01ab1c57bd

View file

@ -2,11 +2,13 @@
all: init2.elc init.elc site-lisp/
%.elc: %.el
emacs -Q -batch -eval "(byte-compile-file \"$<\")"
@echo "ELC $<"
@emacs -Q -batch -eval "(byte-compile-file \"$<\")"
init.el: init2.el
init2.el: init.org
emacs -Q -batch -l "ob-tangle" -eval "(org-babel-tangle-file \"init.org\")"
@echo "OBT $<"
@emacs -Q -batch -l "ob-tangle" -eval "(org-babel-tangle-file \"init.org\")"
%/: %
$(MAKE) -C "$(CURDIR)/$*"