From be0c13f50c0ae30836c212725943a57c27623c05 Mon Sep 17 00:00:00 2001 From: Joost Rijneveld Date: Tue, 15 Jan 2019 16:22:15 +0100 Subject: [PATCH] Generalize functest to crypto_{kem,sign} --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5cf7a118..3013e4ee 100644 --- a/Makefile +++ b/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