Makefile TODO

This commit is contained in:
Christoph J. Scherr 2022-11-28 19:20:04 +01:00
parent c802cb3b62
commit 12c10c95a6
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ clean:
huffman/bin/huffman: huffman/huffman.c
$(CC) $(CFLAGS) -o $@ $< -lm
# TODO convert this phony target into multiple smaller file targets
testfiles:
@dd if=/dev/urandom of=huffman/testfiles/1K-random.img count=1KiB
@dd if=/dev/urandom of=huffman/testfiles/10K-random.img count=10KiB
@ -30,6 +31,7 @@ testfiles:
@yes 'lslfkpoipop iipfiasp' | head -c 1MB > huffman/testfiles/mid.txt
# TODO convert this phony target into multiple smaller file targets
bigfiles:
@echo "Building some bigger testfiles, this might take a while and draw some performance"
@dd if=/dev/urandom of=huffman/testfiles/100M-random.img count=100MiB