aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2017-07-02 18:12:10 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2017-07-30 09:19:39 +1000
commit94dd5cb4a034a2cb43f9a866c9a6d6d76dfd4ba0 (patch)
treeab71a07640bb312fadb8b11bc946670b6110726a
parentMerge pull request #2159 (diff)
downloadmonero-94dd5cb4a034a2cb43f9a866c9a6d6d76dfd4ba0.tar.xz
Makefile: Add debug-static-all target
Also make debug-all target statically link all internal libraries.
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0f5ee5773..4f6e6465f 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,11 @@ debug-test:
debug-all:
mkdir -p build/debug
- cd build/debug && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Debug ../.. && $(MAKE)
+ cd build/debug && cmake -D BUILD_TESTS=ON -D BUILD_SHARED_LIBS=OFF -D CMAKE_BUILD_TYPE=Debug ../.. && $(MAKE)
+
+debug-static-all:
+ mkdir -p build/debug
+ cd build/debug && cmake -D BUILD_TESTS=ON -D STATIC=ON -D CMAKE_BUILD_TYPE=Debug ../.. && $(MAKE)
cmake-release:
mkdir -p build/release