mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-23 07:59:01 +00:00
Expand the pattern rule for the three common tests.
Fixes https://github.com/PQClean/PQClean/issues/178.
This commit is contained in:
parent
56a3715ddc
commit
69e00a5b7f
@ -47,7 +47,13 @@ printparams: $(DEST_DIR)/printparams_$(SCHEME)_$(IMPLEMENTATION)
|
|||||||
.PHONY: nistkat
|
.PHONY: nistkat
|
||||||
nistkat: $(DEST_DIR)/nistkat_$(SCHEME)_$(IMPLEMENTATION)
|
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)
|
mkdir -p $(DEST_DIR)
|
||||||
$(CC) $(CFLAGS) $< $(COMMON_FILES) -o $@
|
$(CC) $(CFLAGS) $< $(COMMON_FILES) -o $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user