aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAntonio Juarez <antonio.maria.juarez@live.com>2014-03-03 22:07:58 +0000
committerAntonio Juarez <antonio.maria.juarez@live.com>2014-03-03 22:07:58 +0000
commit296ae46ed8f8f6e5f986f978febad302e3df231a (patch)
tree1629164454a239308f33c9e12afb22e7f3cd8eeb /Makefile
parentchanged name (diff)
downloadmonero-296ae46ed8f8f6e5f986f978febad302e3df231a.tar.xz
moved all stuff to github
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 000000000..451319b08
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,33 @@
+all: all-release
+
+cmake-debug:
+ mkdir -p build/debug
+ cd build/debug && cmake -D CMAKE_BUILD_TYPE=Debug ../..
+
+build-debug: cmake-debug
+ cd build/debug && $(MAKE)
+
+test-debug: build-debug
+ cd build/debug && $(MAKE) test
+
+all-debug: build-debug
+
+cmake-release:
+ mkdir -p build/release
+ cd build/release && cmake -D CMAKE_BUILD_TYPE=Release ../..
+
+build-release: cmake-release
+ cd build/release && $(MAKE)
+
+test-release: build-release
+ cd build/release && $(MAKE) test
+
+all-release: build-release
+
+clean:
+ rm -rf build
+
+tags:
+ ctags -R --sort=1 --c++-kinds=+p --fields=+iaS --extra=+q --language-force=C++ src contrib tests/gtest
+
+.PHONY: all cmake-debug build-debug test-debug all-debug cmake-release build-release test-release all-release clean tags