define tangle = eldev emacs -quick -batch \ -eval "(package-initialize)" \ -load ob-tangle \ -eval "(org-babel-tangle-file \"$<\" \"$(PWD)/$@\"$(if $1, \"$1\"))" endef %.mk: build.org $(call tangle) include build.mk