diff --git a/Makefile b/Makefile index b425e5bb3..9145f2e53 100644 --- a/Makefile +++ b/Makefile @@ -356,8 +356,9 @@ update-secp256k1: distclean: clean $(MAKE) -C secp256k1/ distclean || true $(RM) libsecp256k1.a secp256k1/libsecp256k1.la - $(RM) libsodium.a libsodium/libsodium.la + $(RM) libsodium.a libsodium.la libsodium/libsodium.la $(RM) libwallycore.a libwallycore.la + $(RM) libwally-core/src/secp256k1/libsecp256k1.la libwally-core/src/libwallycore.la cd libwally-core && tools/cleanup.sh maintainer-clean: distclean diff --git a/wire/Makefile b/wire/Makefile index 7f90e76ea..ebab67749 100644 --- a/wire/Makefile +++ b/wire/Makefile @@ -59,6 +59,6 @@ wire-maintainer-clean: wire-all: $(WIRE_OBJS) $(WIRE_ONION_OBJS) wire-clean: - $(RM) $(WIRE_OBJS) $(WIRE_ONION_OBJS) $(WIRE_GEN_SRC) $(WIRE_GEN_HEADERS) + $(RM) $(WIRE_OBJS) $(WIRE_ONION_OBJS) $(WIRE_GEN_SRC) $(WIRE_GEN_ONION_SRC) $(WIRE_GEN_HEADERS) include wire/test/Makefile