From e624046c74511bc43173761eafa47d7a4d9be8b4 Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Sun, 28 Jan 2018 02:01:24 +0000 Subject: [PATCH] external/Makefile: Initialize/update libwally-core submodule. --- external/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/external/Makefile b/external/Makefile index a14be16af..46f4222c3 100644 --- a/external/Makefile +++ b/external/Makefile @@ -31,6 +31,10 @@ external/libsodium/src/libsodium/include/sodium.h: external/libsodium/src/libsodium/libsodium.la: external/libsodium/src/libsodium/include/sodium.h cd external/libsodium && ./autogen.sh && ./configure CC="$(CC)" --enable-static=yes --enable-shared=no --enable-tests=no --libdir=`pwd`/.. && $(MAKE) +$(LIBWALLY_HEADERS) $(LIBSECP_HEADERS): + git submodule update external/libwally-core + [ -f $@ ] || git submodule update --init external/libwally-core + # libsecp included in libwally. # Wildcards here are magic. See http://stackoverflow.com/questions/2973445/gnu-makefile-rule-generating-a-few-targets-from-a-single-source-file external/libsecp256k1.% external/libwallycore.%: external/libwally-core/src/secp256k1/libsecp256k1.la external/libwally-core/src/libwallycore.la