aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-06-24 13:10:35 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-06-24 13:10:35 -0500
commitc978027933e036bcdf32ce6a7b07c779e2cbb18c (patch)
tree8ccf05400e7c3083851e3f996aa9d8881be59548 /Makefile
parent9deec4dad02e0af154a0ce6fc00265ab07102df7 (diff)
parente1e862bce49467e0cafb18c837eeecb7fd505bb4 (diff)
downloadmonzero-gui-c978027933e036bcdf32ce6a7b07c779e2cbb18c.tar.gz
monzero-gui-c978027933e036bcdf32ce6a7b07c779e2cbb18c.tar.xz
monzero-gui-c978027933e036bcdf32ce6a7b07c779e2cbb18c.zip
Merge pull request #2964
e1e862b cmake: implement Linux 'release-static' build target (xiphon)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f5f2b865..59bb2112 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,9 @@ scanner:
release:
mkdir -p $(builddir)/release && cd $(builddir)/release && cmake -D DEV_MODE=$(or ${DEV_MODE},OFF) -D ARCH="x86-64" -D CMAKE_BUILD_TYPE=Release $(topdir) && $(MAKE)
+release-static:
+ mkdir -p $(builddir)/release && cd $(builddir)/release && cmake -D STATIC=ON -D DEV_MODE=$(or ${DEV_MODE},OFF) -D ARCH="x86-64" -D BUILD_64=ON -D CMAKE_BUILD_TYPE=Release $(topdir) && $(MAKE)
+
debug-static-win64:
mkdir -p $(builddir)/debug && cd $(builddir)/debug && cmake -D STATIC=ON -G "MSYS Makefiles" -D DEV_MODE=$(or ${DEV_MODE},ON) -D ARCH="x86-64" -D BUILD_64=ON -D CMAKE_BUILD_TYPE=Debug -D BUILD_TAG="win-x64" -D CMAKE_TOOLCHAIN_FILE=$(topdir)/cmake/64-bit-toolchain.cmake -D MSYS2_FOLDER=$(shell cd ${MINGW_PREFIX}/.. && pwd -W) -D MINGW=ON $(topdir) && $(MAKE)