mirror of
https://git.wownero.com/wownero/wownero-puddle.git
synced 2024-08-15 01:03:20 +00:00
Merge pull request #18 from trasherdk/monero-out-of-source
Support Monero out-of-source build
This commit is contained in:
commit
cc0bfd2b56
1 changed files with 8 additions and 6 deletions
14
Makefile
14
Makefile
|
@ -36,12 +36,14 @@ ifeq ($(MAKECMDGOALS),release)
|
|||
TYPE = release
|
||||
endif
|
||||
|
||||
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
|
||||
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