ensure path exists

This commit is contained in:
bronku 2025-11-14 00:20:58 +01:00
parent eeb7f77911
commit cf024f1c4c
3 changed files with 9 additions and 8 deletions

View file

@ -6,22 +6,16 @@ build/main: main.cpp sort.cpp config.hpp buffer.hpp reader.hpp writer.hpp build
build:
mkdir -p build
build/run:
mkdir -p build/run
build/run/tmp:
mkdir -p build/run/tmp
clean:
rm -rf build
generate: build/run/1.in
# actually should depend on build/main and build/run, but that will trigger it every recompile, and i don't need that
build/run/1.in: build/run/tmp
build/run/1.in:
build/main -g -o build/run/1.in
run: build/main build/run/1.in build/run/tmp
run: build/main build/run/1.in
build/main -i build/run/1.in -d build/run/tmp
debug: build/main tests/1.in