new-ryuslash.org/GNUmakefile
Tom Willemse 6402e2e73e Move make file build targets into literate document
All of the make targets and recipes have been moved into ‘bootstrap.org’ so that
they can be documented. Tangling this document will result in a ‘bootstrap.mk’
which contains all of the targets and recipes from the org document.

The GNUmakefile now only has just enough to know how to generate ‘bootstrap.mk’
and that it needs to generate ‘bootstrap.mk’.
2023-07-25 22:26:52 -07:00

7 lines
201 B
Makefile

%.mk: bootstrap.org
eldev emacs -quick -batch \
-eval "(package-initialize)" \
-load ob-tangle \
-eval "(org-babel-tangle-file \"$<\" \"$(PWD)/$@\" \"makefile\")"
include bootstrap.mk