Generalize functest to crypto_{kem,sign}
This commit is contained in:
부모
87bbb1887f
커밋
be0c13f50c
6
Makefile
6
Makefile
@ -7,15 +7,15 @@ endif
|
||||
|
||||
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
|
||||
$(CC) $(CFLAGS)\
|
||||
-I"./common/"\
|
||||
-I"$(SCHEME)/clean/"\
|
||||
-o bin/functest_kem_$(SCHEME)\
|
||||
-o bin/functest_$(subst /,_,$(SCHEME))\
|
||||
common/*.c\
|
||||
$(SCHEME)/clean/*.c\
|
||||
crypto_kem/test.c
|
||||
$<
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
|
불러오는 중...
Reference in New Issue
Block a user