Factor out creation of dosfiles dir into order-only dependency rule

This commit is contained in:
Philip Zembrod 2022-04-09 23:44:30 +02:00
parent fc74e8fb54
commit 2cd270b1ef

View File

@ -202,18 +202,17 @@ test-volks4th-min.golden: $(patsubst %, tests/golden/%.golden, \
tests/evaluate-test.sh $(basename $@)
dosfiles/%: %
test -d dosfiles || mkdir dosfiles
dosfiles/%: % | dosfiles
cp $< $@
dosfiles/%: src/%
test -d dosfiles || mkdir dosfiles
dosfiles/%: src/% | dosfiles
cp $< $@
dosfiles/%: tests/%
test -d dosfiles || mkdir dosfiles
dosfiles/%: tests/% | dosfiles
cp $< $@
dosfiles:
mkdir $@
src/%.fth: src/%.fb ../../tools/fb2fth.py
../../tools/fb2fth.py $< $@