ruspa.v0/Makefile

12 lines
258 B
Makefile
Raw Normal View History

TEST_PATH := ./tests
$(TEST_PATH):
for dir in {a1,a2}/{b1,b2,b3}/{c1,c2,c3}; do \
dirpath=$(TEST_PATH)/$${dir}; \
mkdir -p $${dirpath}; \
dd if=/dev/urandom of=$${dirpath}/$$RANDOM bs=1 count=$$(( RANDOM+1024 )); \
done
clear:
rm -rf $(TEST_PATH)