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 <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2016-07-01 11:27:34 +09:30
parent 42bed80145
commit de90b44bf6
1 changed files with 1 additions and 1 deletions

View File

@ -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'