blob: d357c6743dc399ccf2976e70c3e366e74009bd84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
CFLAGS=-ansi -pedantic -Wall -I .. -g -O0
DEPS=../pb_decode.c ../pb_decode.h ../pb.h
all: test_decode1
clean:
rm -f test_decode1
test_decode1: test_decode1.c $(DEPS)
$(CC) $(CFLAGS) -o $@ $< ../pb_decode.c
fuzztest: test_decode1
bash -c 'I=1; while cat /dev/urandom | ./test_decode1 > /dev/null; do I=$$(($$I+1)); echo -en "\r$$I"; done'
|