Makefile TODO
This commit is contained in:
parent
c802cb3b62
commit
12c10c95a6
2
Makefile
2
Makefile
|
@ -14,6 +14,7 @@ clean:
|
||||||
huffman/bin/huffman: huffman/huffman.c
|
huffman/bin/huffman: huffman/huffman.c
|
||||||
$(CC) $(CFLAGS) -o $@ $< -lm
|
$(CC) $(CFLAGS) -o $@ $< -lm
|
||||||
|
|
||||||
|
# TODO convert this phony target into multiple smaller file targets
|
||||||
testfiles:
|
testfiles:
|
||||||
@dd if=/dev/urandom of=huffman/testfiles/1K-random.img count=1KiB
|
@dd if=/dev/urandom of=huffman/testfiles/1K-random.img count=1KiB
|
||||||
@dd if=/dev/urandom of=huffman/testfiles/10K-random.img count=10KiB
|
@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
|
@yes 'lslfkpoipop iipfiasp' | head -c 1MB > huffman/testfiles/mid.txt
|
||||||
|
|
||||||
|
|
||||||
|
# TODO convert this phony target into multiple smaller file targets
|
||||||
bigfiles:
|
bigfiles:
|
||||||
@echo "Building some bigger testfiles, this might take a while and draw some performance"
|
@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
|
@dd if=/dev/urandom of=huffman/testfiles/100M-random.img count=100MiB
|
||||||
|
|
Loading…
Reference in New Issue