2015-08-11 11:08:27 +01:00
|
|
|
CC = /usr/bin/gcc
|
2016-02-02 13:06:43 +00:00
|
|
|
CFLAGS = -Wall -g -O3 -Wextra
|
2015-08-11 11:08:27 +01:00
|
|
|
|
2016-07-11 10:15:16 +01:00
|
|
|
all: test/test_wots \
|
2015-08-12 13:37:49 +01:00
|
|
|
test/test_xmss \
|
2015-08-21 14:06:07 +01:00
|
|
|
test/test_xmss_fast \
|
2015-09-21 12:24:42 +01:00
|
|
|
test/test_xmssmt_fast \
|
2015-08-12 13:37:49 +01:00
|
|
|
test/test_xmssmt
|
2015-08-11 11:08:27 +01:00
|
|
|
|
2016-07-11 10:15:16 +01:00
|
|
|
test/test_wots: hash.c hash_address.c randombytes.c wots.c xmss_commons.c test/test_wots.c hash.h hash_address.h randombytes.h wots.h xmss_commons.h
|
|
|
|
$(CC) $(CFLAGS) hash.c hash_address.c randombytes.c wots.c xmss_commons.c test/test_wots.c -o $@ -lcrypto -lm
|
2015-08-11 11:08:27 +01:00
|
|
|
|
2016-07-11 10:15:16 +01:00
|
|
|
test/test_xmss: hash.c hash_address.c randombytes.c wots.c xmss.c xmss_commons.c test/test_xmss.c hash.h hash_address.h randombytes.h wots.h xmss.h xmss_commons.h
|
|
|
|
$(CC) $(CFLAGS) hash.c hash_address.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
|
|
|
|
2016-07-11 10:15:16 +01:00
|
|
|
test/test_xmss_fast: hash.c hash_address.c randombytes.c wots.c xmss_fast.c xmss_commons.c test/test_xmss_fast.c hash.h hash_address.h randombytes.h wots.h xmss_fast.h xmss_commons.h
|
|
|
|
$(CC) $(CFLAGS) hash.c hash_address.c randombytes.c wots.c xmss_fast.c xmss_commons.c test/test_xmss_fast.c -o $@ -lcrypto -lm
|
2015-08-21 14:06:07 +01:00
|
|
|
|
2016-07-11 10:15:16 +01:00
|
|
|
test/test_xmssmt: hash.c hash_address.c randombytes.c wots.c xmss.c xmss_commons.c test/test_xmssmt.c hash.h hash_address.h randombytes.h wots.h xmss.h xmss_commons.h
|
|
|
|
$(CC) $(CFLAGS) hash.c hash_address.c randombytes.c wots.c xmss.c xmss_commons.c test/test_xmssmt.c -o $@ -lcrypto -lm
|
2015-08-12 13:37:49 +01:00
|
|
|
|
2016-07-11 10:15:16 +01:00
|
|
|
test/test_xmssmt_fast: hash.c hash_address.c randombytes.c wots.c xmss_fast.c xmss_commons.c test/test_xmssmt_fast.c hash.h hash_address.h randombytes.h wots.h xmss_fast.h xmss_commons.h
|
|
|
|
$(CC) $(CFLAGS) hash.c hash_address.c randombytes.c wots.c xmss_fast.c xmss_commons.c test/test_xmssmt_fast.c -o $@ -lcrypto -lm
|
2015-09-21 12:24:42 +01:00
|
|
|
|
2015-08-12 13:37:49 +01:00
|
|
|
.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_wots
|
2015-08-12 16:59:29 +01:00
|
|
|
-rm test/test_xmss
|
2015-09-21 12:24:42 +01:00
|
|
|
-rm test/test_xmss_fast
|
2015-08-12 14:38:25 +01:00
|
|
|
-rm test/test_xmssmt
|
2015-09-21 12:24:42 +01:00
|
|
|
-rm test/test_xmssmt_fast
|
2015-08-12 17:04:16 +01:00
|
|
|
|
|
|
|
|