File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ precompute_ecmult_gen_LDADD = $(COMMON_LIB)
203203# otherwise make's decision whether to rebuild them (even in the first
204204# build by a normal user) depends on mtimes, and thus is very fragile.
205205# This means that rebuilds of the prebuilt files always need to be
206- # forced by deleting them, e.g., by invoking `make clean-precomp` .
206+ # forced by deleting them.
207207src/precomputed_ecmult.c :
208208 $(MAKE ) $(AM_MAKEFLAGS ) precompute_ecmult$(EXEEXT )
209209 ./precompute_ecmult$(EXEEXT )
@@ -224,14 +224,17 @@ clean-precomp:
224224 rm -f $(PRECOMP )
225225
226226# ## Pregenerated test vectors
227+ # ## (see the comments in the previous section for detailed rationale)
227228TESTVECTORS = src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.h
228229
229230src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.h :
230231 python3 tools/tests_wycheproof_generate.py src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.json > $@
231232
232233testvectors : $(TESTVECTORS )
233234
234- maintainer-clean-testvectors : clean-testvectors
235+ BUILT_SOURCES += $(TESTVECTORS )
236+
237+ maintainer-clean-local : clean-testvectors
235238
236239clean-testvectors :
237240 rm -f $(TESTVECTORS )
You can’t perform that action at this time.
0 commit comments