Fix: create folder for testfiles

This commit is contained in:
Dorian Zedler 2022-07-20 13:29:56 +02:00
parent 859be7d54e
commit 5c73cccba2

View file

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