From 69e00a5b7ffa87ad6e672a04e893bd6ad554c583 Mon Sep 17 00:00:00 2001 From: Ronny Wichers Schreur Date: Wed, 29 May 2019 15:10:11 +0200 Subject: [PATCH] Expand the pattern rule for the three common tests. Fixes https://github.com/PQClean/PQClean/issues/178. --- test/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index 10fae81f..2fdd0eaa 100644 --- a/test/Makefile +++ b/test/Makefile @@ -47,7 +47,13 @@ printparams: $(DEST_DIR)/printparams_$(SCHEME)_$(IMPLEMENTATION) .PHONY: nistkat nistkat: $(DEST_DIR)/nistkat_$(SCHEME)_$(IMPLEMENTATION) -$(DEST_DIR)/test_common_%: common/%.c $(COMMON_FILES) +$(DEST_DIR)/test_common_aes: common/aes.c $(COMMON_FILES) + mkdir -p $(DEST_DIR) + $(CC) $(CFLAGS) $< $(COMMON_FILES) -o $@ +$(DEST_DIR)/test_common_fips202: common/fips202.c $(COMMON_FILES) + mkdir -p $(DEST_DIR) + $(CC) $(CFLAGS) $< $(COMMON_FILES) -o $@ +$(DEST_DIR)/test_common_sha2: common/sha2.c $(COMMON_FILES) mkdir -p $(DEST_DIR) $(CC) $(CFLAGS) $< $(COMMON_FILES) -o $@