Fix: create folder for testfiles

This commit is contained in:
Dorian Zedler 2022-07-20 13:29:56 +02:00
parent 859be7d54e
commit 5c73cccba2
1 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ md2: ${OBJ}
${CC} -o $@ $(OBJ) ${LDFLAGS}
t/%:
@mkdir t
@echo
@echo "=== Generating ${subst t/,,$@}MB of random data... ==="
dd if=/dev/random of=$@ bs=1M count=${subst t/,,$@} status=progress
@ -67,4 +68,4 @@ benchmarks.csv: md2 ${TESTFILES}
benchmarks: benchmarks.csv
.PHONY: all clean help benchmarks
.PHONY: all clean help benchmarks