diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-08-11 06:58:44 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-08-11 06:58:44 -0700 |
commit | 9d09406d3204044675a765998f608f1b1b502c2e (patch) | |
tree | 31c0142e596adb917e10204fa6b687b26be583e1 /tests/010/tree.tl | |
parent | c2b7f82686fd66b4440195363edf02b0c6b11a63 (diff) | |
download | txr-9d09406d3204044675a765998f608f1b1b502c2e.tar.gz txr-9d09406d3204044675a765998f608f1b1b502c2e.tar.bz2 txr-9d09406d3204044675a765998f608f1b1b502c2e.zip |
build: remove mkdir commands from build steps.
* Makefile (COMPILE_C_WITH_DEPS, WINDRES): Do not call mkdir.
(win/%.res): Express dependency on existence of win
subdirectory in the build directory. We use an order-only
prerequisite, so that timestamps are not compared.
We don't want to be rebuilding objects if the directory
they are in has a newer timestamp, which is often the case.
(OBJS): Extract the relative directory paths from $(OBJS),
and make each directory the target of a rule which creates it.
Then, make each target in $(OBJS) dependent (order-only) on
the directory into which it will be placed, so before that
object is built, the directory gets created with mkdir -p.
Diffstat (limited to 'tests/010/tree.tl')
0 files changed, 0 insertions, 0 deletions