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

Force rebuilding implementation when building test files

This commit is contained in:
Douglas Stebila 2019-02-19 10:02:25 -05:00
parent d7b2d63a89
commit a7328f827c

View File

@ -19,7 +19,7 @@ all: $(DEST_DIR)/functest_$(SCHEME)_$(IMPLEMENTATION) $(DEST_DIR)/testvectors_$(
.PHONY: rebuild-scheme .PHONY: rebuild-scheme
rebuild-scheme: rebuild-scheme:
cd $(SCHEME_DIR) && make cd $(SCHEME_DIR) && $(MAKE) clean && $(MAKE)
$(DEST_DIR)/functest_$(SCHEME)_$(IMPLEMENTATION): rebuild-scheme crypto_$(TYPE)/functest.c $(COMMON_FILES) $(COMMON_DIR)/randombytes.c $(COMMON_HEADERS) $(DEST_DIR)/functest_$(SCHEME)_$(IMPLEMENTATION): rebuild-scheme crypto_$(TYPE)/functest.c $(COMMON_FILES) $(COMMON_DIR)/randombytes.c $(COMMON_HEADERS)
mkdir -p $(DEST_DIR) mkdir -p $(DEST_DIR)