1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-22 23:48:58 +00:00

Generalize functest to crypto_{kem,sign}

This commit is contained in:
Joost Rijneveld 2019-01-15 16:22:15 +01:00
parent 87bbb1887f
commit be0c13f50c
No known key found for this signature in database
GPG Key ID: A4FE39CF49CBC553

View File

@ -7,15 +7,15 @@ endif
CFLAGS=-Wall -Wextra -Wpedantic -Werror -std=c99 CFLAGS=-Wall -Wextra -Wpedantic -Werror -std=c99
functest_kem: crypto_kem/test.c $(wildcard $(SCHEME)/clean/*.c) $(wildcard $(SCHEME)/clean/*.h) functest: $(dir $(SCHEME))test.c $(wildcard $(SCHEME)/clean/*.c) $(wildcard $(SCHEME)/clean/*.h)
mkdir -p bin mkdir -p bin
$(CC) $(CFLAGS)\ $(CC) $(CFLAGS)\
-I"./common/"\ -I"./common/"\
-I"$(SCHEME)/clean/"\ -I"$(SCHEME)/clean/"\
-o bin/functest_kem_$(SCHEME)\ -o bin/functest_$(subst /,_,$(SCHEME))\
common/*.c\ common/*.c\
$(SCHEME)/clean/*.c\ $(SCHEME)/clean/*.c\
crypto_kem/test.c $<
.PHONY: clean .PHONY: clean