-
+ 6A499F8F8582913A58EC87132894B6EA6C85BBB0716E5B51D0CF582E3BB046CF542C582223235C79A48FE8558A6D6A266587A5EEC5AD6CFD931B8BE359DBB0A7
Makefile
(0 . 0)(1 . 27)
19 CFLAGS = -O1 -ansi -pedantic -Wall -Wextra -Winit-self
20 LDFLAGS = -static
21
22 keksum: keccak.o io.o main.o
23 $(CC) -o $@ $(LDFLAGS) $^
24
25 ktest: ktest.o io.o
26 $(CC) -o $@ $(LDFLAGS) $^
27
28 check: keksum ktest
29 ./ktest
30 sh test-sponge.sh
31
32 clean:
33 rm -f keksum ktest testvectors.h *.o
34
35 ktest.o: keccak.c
36 $(CC) -o $@ $(CFLAGS) -DTEST -c $<
37
38 testvectors.h: munge-testvecs.py testvectorszero.txt testvectorsnonzero.txt
39 python2 $^ >$@.tmp && mv $@.tmp $@
40
41 # Header deps
42 keccak.o: io.h
43 ktest.o: io.h testvectors.h
44 io.o: io.h
45 main.o: io.h