aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-09-15 08:13:26 +0200
committerRiccardo Spagni <ric@spagni.net>2014-09-15 08:13:26 +0200
commit8afbed4027744a5e3299896b2b71622a06fa6a56 (patch)
tree725e16599ed708948a5c14759abc81ec9fb75b07
parentFreeBSD static linking fixes (diff)
downloadmonero-8afbed4027744a5e3299896b2b71622a06fa6a56.tar.xz
new Makefile target: release-static
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 65b72d4e1..8a4e7a75e 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,10 @@ test-release: build-release
all-release: build-release
+release-static:
+ mkdir -p build/release
+ cd build/release && cmake -D STATIC=ON -D ARCH="x86-64" -D CMAKE_BUILD_TYPE=Release ../.. && $(MAKE)
+
clean:
@echo "WARNING: Back-up your wallet if it exists within ./build!" ; \
read -r -p "This will destroy the build directory, continue (y/N)?: " CONTINUE; \