Skip to content

Commit

Permalink
Fix github issue ryancdotorg#22
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancdotorg authored Dec 12, 2016
1 parent c85db28 commit bcf8008
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ COMPILE = gcc $(CFLAGS)

all: $(BINARIES)

secp256k1/.libs/libsecp256k1.a:
.git:
@echo 'This does not look like a cloned git repo. Unable to fetch submodules.'
@false

secp256k1/.libs/libsecp256k1.a: .git
git submodule init
git submodule update
cd secp256k1; make distclean || true
Expand All @@ -23,7 +27,7 @@ secp256k1/.libs/libsecp256k1.a:

secp256k1/include/secp256k1.h: secp256k1/.libs/libsecp256k1.a

scrypt-jane/scrypt-jane.h:
scrypt-jane/scrypt-jane.h: .git
git submodule init
git submodule update

Expand Down

0 comments on commit bcf8008

Please sign in to comment.