mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 13:32:47 +01:00
build: Add a top-level forwarding target for src/* objects
Fixes #3955. It's hackish, but seems to always function as expected. Examples: make src/bitcoind make src/qt/bitcoin-qt make src/libbitcoin.a
This commit is contained in:
parent
3d7399cb17
commit
77a055d049
@ -1,6 +1,6 @@
|
|||||||
ACLOCAL_AMFLAGS = -I src/m4
|
ACLOCAL_AMFLAGS = -I src/m4
|
||||||
SUBDIRS = src
|
SUBDIRS = src
|
||||||
.PHONY: deploy
|
.PHONY: deploy FORCE
|
||||||
|
|
||||||
GZIP_ENV="-9n"
|
GZIP_ENV="-9n"
|
||||||
|
|
||||||
@ -53,8 +53,8 @@ $(BITCOIN_WIN_INSTALLER): $(BITCOIND_BIN) $(BITCOIN_QT_BIN) $(BITCOIN_CLI_BIN)
|
|||||||
@test -f $(MAKENSIS) && $(MAKENSIS) $(top_builddir)/share/setup.nsi || \
|
@test -f $(MAKENSIS) && $(MAKENSIS) $(top_builddir)/share/setup.nsi || \
|
||||||
echo error: could not build $@
|
echo error: could not build $@
|
||||||
|
|
||||||
$(BITCOIND_BIN) $(BITCOIN_QT_BIN) $(BITCOIN_CLI_BIN):
|
$(if $(findstring src/,$(MAKECMDGOALS)),$(MAKECMDGOALS), none): FORCE
|
||||||
make -C $(dir $@) $(notdir $@)
|
$(MAKE) -C src $(patsubst src/%,%,$@)
|
||||||
|
|
||||||
$(OSX_APP)/Contents/PkgInfo:
|
$(OSX_APP)/Contents/PkgInfo:
|
||||||
$(MKDIR_P) $(@D)
|
$(MKDIR_P) $(@D)
|
||||||
|
Loading…
Reference in New Issue
Block a user