xmss-KAT-generator/Makefile

29 lines
1.2 KiB
Makefile
Raw Normal View History

2015-08-11 11:08:27 +01:00
CC = /usr/bin/gcc
CFLAGS = -Wall -g -O3
all: test/test_chacha \
test/test_wots \
2015-08-12 13:37:49 +01:00
test/test_xmss \
test/test_xmssmt
2015-08-11 11:08:27 +01:00
test/test_chacha: chacha.c prg.c randombytes.c test/test_chacha.c chacha.h prg.h randombytes.h
$(CC) $(CFLAGS) chacha.c prg.c randombytes.c test/test_chacha.c -o $@ #-lcrypto -lm
test/test_wots: chacha.c hash.c prg.c randombytes.c wots.c xmss_commons.c test/test_wots.c chacha.h hash.h prg.h randombytes.h wots.h xmss_commons.h
$(CC) $(CFLAGS) chacha.c hash.c prg.c randombytes.c wots.c xmss_commons.c test/test_wots.c -o $@ -lcrypto -lm
test/test_xmss: chacha.c hash.c prg.c randombytes.c wots.c xmss.c xmss_commons.c test/test_xmss.c chacha.h hash.h prg.h randombytes.h wots.h xmss.h xmss_commons.h
$(CC) $(CFLAGS) chacha.c hash.c prg.c randombytes.c wots.c xmss.c xmss_commons.c test/test_xmss.c -o $@ -lcrypto -lm
2015-08-04 13:37:25 +01:00
2015-08-12 13:37:49 +01:00
test/test_xmssmt: chacha.c hash.c prg.c randombytes.c wots.c xmss.c xmss_commons.c test/test_xmssmt.c chacha.h hash.h prg.h randombytes.h wots.h xmss.h xmss_commons.h
$(CC) $(CFLAGS) chacha.c hash.c prg.c randombytes.c wots.c xmss.c xmss_commons.c test/test_xmssmt.c -o $@ -lcrypto -lm
.PHONY: clean
2015-08-04 13:37:25 +01:00
clean:
2015-08-12 13:37:49 +01:00
-rm *.o *.s
-rm test/test_sign
-rm test/test_wots
-rm test/test_horst
-rm test/speed
-rm test/gen_testvectors