From de90b44bf699bed660c662617c5723a0cd84c433 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 1 Jul 2016 11:27:34 +0930 Subject: [PATCH] Makefile: erase libsecp results on distclean. If upgrade changes configure flags, 'make distclean' can fail as it tries to reconfigure. Deleting secp256k1/libsecp256k1.la forces a full autogen/configure/make cycle. Signed-off-by: Rusty Russell --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7025d3ea2..0cdd28d65 100644 --- a/Makefile +++ b/Makefile @@ -328,7 +328,7 @@ update-ccan: distclean: clean $(MAKE) -C secp256k1/ distclean || true - $(RM) libsecp256k1.a + $(RM) libsecp256k1.a secp256k1/libsecp256k1.la maintainter-clean: distclean @echo 'This command is intended for maintainers to use; it'