ruspa.v0/Makefile

11 linhas
258 B
Makefile

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)