|
|
@@ -1,6 +1,6 @@ |
|
|
|
CC = /usr/bin/gcc |
|
|
|
CFLAGS = -Wall -g -O3 -Wextra -Wpedantic |
|
|
|
LDLIBS = -lcrypto -lm |
|
|
|
LDLIBS = -lcrypto |
|
|
|
|
|
|
|
SOURCES = params.c hash.c fips202.c hash_address.c randombytes.c wots.c xmss.c xmss_core.c xmss_commons.c |
|
|
|
HEADERS = params.h hash.h fips202.h hash_address.h randombytes.h wots.h xmss.h xmss_core.h xmss_commons.h |
|
|
@@ -34,7 +34,7 @@ test/%: test/%.c $(SOURCES) $(OBJS) $(HEADERS) |
|
|
|
$(CC) $(CFLAGS) -o $@ $(SOURCES) $< $(LDLIBS) |
|
|
|
|
|
|
|
test/test_wots: params.c hash.c fips202.c hash_address.c randombytes.c wots.c xmss_commons.c test/test_wots.c params.h hash.h fips202.h hash_address.h randombytes.h wots.h xmss_commons.h |
|
|
|
$(CC) $(CFLAGS) params.c hash.c fips202.c hash_address.c randombytes.c wots.c xmss_commons.c test/test_wots.c -o $@ -lcrypto -lm |
|
|
|
$(CC) $(CFLAGS) params.c hash.c fips202.c hash_address.c randombytes.c wots.c xmss_commons.c test/test_wots.c -o $@ -lcrypto |
|
|
|
|
|
|
|
clean: |
|
|
|
-$(RM) $(TESTS) |
|
|
|