Makefile: more sanity checks

This commit is contained in:
Ștefan Talpalaru 2019-04-19 22:11:24 +02:00
parent 4d338ab05e
commit 8b2fd73e25
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ $(SILENT_TARGET_PREFIX).SILENT:
sanity-checks:
@ [[ "$$PWD" =~ /vendor/nim-beacon-chain$ && -e ../../Makefile && -e ../../common.mk ]] || \
{ echo -e "This Makefile can only be used from the corresponding Git submodule in the Nimbus repository.\nDetailed instructions available in README.md or online at https://github.com/status-im/nim-beacon-chain/#building-and-testing"; exit 1; }
@+ $(MAKE) --silent -C ../../ sanity-checks
deps: | sanity-checks
@+ $(MAKE) --silent -C ../../ deps