Differences From
Artifact [893390ad11]:
46 46
47 47 libcackey_g.a: cackey_g.o
48 48 rm -f libcackey_g.a
49 49 $(AR) rc libcackey_g.a cackey_g.o
50 50 -$(RANLIB) libcackey_g.a
51 51
52 52 test: test.c libcackey_g.@SHOBJEXT@
53 - $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o test test.c -Wl,-R,. libcackey_g.@SHOBJEXT@
53 + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o test test.c -Wl,-R,. libcackey_g.@SHOBJEXT@ $(LIBS)
54 54
55 55 test-afl.data: test
56 56 tmpLogFile='log.$(shell openssl rand -hex 16)'; \
57 57 ./test 2> $${tmpLogFile}; \
58 58 echo -ne "$$( \
59 59 grep 'Returned Value:' $${tmpLogFile} | sed 's@^.*/@@;s@ = {@ @;s@})$$@@;s@,@@g;s@ @\\x@g;s@\\@ \\@' | while IFS=' ' read -r count string; do \
60 60 printf '\\x%02x\\x%02x%s' $$[$${count} / 256] $$[$${count} % 256] "$${string}"; \