mirror of
https://git.wownero.com/wownero/wownero-puddle.git
synced 2024-08-15 01:03:20 +00:00
Support Monero out-of-source build
This commit is contained in:
parent
21bf3019eb
commit
5e4392f1be
1 changed files with 8 additions and 6 deletions
2
Makefile
2
Makefile
|
@ -36,12 +36,14 @@ ifeq ($(MAKECMDGOALS),release)
|
|||
TYPE = release
|
||||
endif
|
||||
|
||||
ifeq ($(origin MONERO_BUILD_ROOT), undefined)
|
||||
MONERO_BUILD_ROOT = \
|
||||
${MONERO_ROOT}/build/$(shell echo `uname | \
|
||||
sed -e 's|[:/\\ \(\)]|_|g'`/` \
|
||||
git -C ${MONERO_ROOT} branch | \
|
||||
grep '\* ' | cut -f2- -d' '| \
|
||||
sed -e 's|[:/\\ \(\)]|_|g'`)/release
|
||||
endif
|
||||
|
||||
MONERO_INC = \
|
||||
${MONERO_ROOT}/src \
|
||||
|
|
Loading…
Reference in a new issue