aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYannick LE COLLEN <yannick@matrix.org>2017-03-02 13:01:32 +0100
committerRichard van der Hoff <github@rvanderhoff.org.uk>2017-03-02 12:01:32 +0000
commita9aeb6b5d743cc203f8e76c1a180d0cd8d433ed8 (patch)
treee877b6aa847280c35dc09d1ac44eab7f0c3eaf24 /Makefile
parent77eaaa3d5f60b83a618ee2034e2934bd6889339d (diff)
Android : improve the version number management (#46)
Add functions to make the difference between the native and the java code version. Factor out the version management in the makefiles.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 77bf0ec..f53be1f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,6 @@
#!/usr/bin/make -f
-MAJOR := 2
-MINOR := 2
-PATCH := 2
+include common.mk
VERSION := $(MAJOR).$(MINOR).$(PATCH)
PREFIX ?= /usr/local
BUILD_DIR := build