aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2017-03-27 23:44:35 +0200
committerRobin Krahl <me@robin-krahl.de>2017-03-27 23:44:35 +0200
commita46be28d077b4f19f4e8537982487e33e20e4f0c (patch)
treeb6428e5cdbcd1883c8a9b0a80351398231c56cf1 /Makefile
parent004fbbe648f6a13a23da01fb98db53444b0087af (diff)
downloadsqlitepp-a46be28d077b4f19f4e8537982487e33e20e4f0c.tar.gz
sqlitepp-a46be28d077b4f19f4e8537982487e33e20e4f0c.tar.bz2
sqlitepp.h: Add complete version as SQLITEPP_VERSION
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a455917..14531ae 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,8 @@ DEPENDS := $(DEPENDS_LIB) $(DEPENDS_TEST)
CPPFLAGS += -MMD -MP -I$(INCLUDE_DIR)
CPPFLAGS += -DSQLITEPP_VERSION_MAJOR=$(VERSION_MAJOR) \
-DSQLITEPP_VERSION_MINOR=$(VERSION_MINOR) \
- -DSQLITEPP_VERSION_PATCH=$(VERSION_PATCH)
+ -DSQLITEPP_VERSION_PATCH=$(VERSION_PATCH) \
+ -DSQLITEPP_VERSION=$(VERSION)
CXXFLAGS += -fPIC
LDFLAGS += $(LDFLAGS_SQLITE3)
LDFLAGS_LIB += -Wl,-soname,lib$(TARGET_NAME_LIB).so.$(VERSION_MAJOR)