summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <rr@reichwein.it>2018-02-28 11:23:24 +0100
committerRoland Reichwein <rr@reichwein.it>2018-02-28 11:23:24 +0100
commit294bc32e02936fdad0c1d376c45e40b8bd392bd1 (patch)
treeb4b8020931e215adbe54e60eee807b4eece3f658 /src/Makefile
parent65a81b48ac204c2763ea5cc345b5e7587455790e (diff)
Fix versioning
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 03fbe53..253574f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2,7 +2,7 @@ ARCH=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
TARGET=query
# gnu++17 since gcc 5
STANDARD=$(shell g++ -std=gnu++17 -E -x c++ - < /dev/null > /dev/null 2>/dev/null && echo "-std=gnu++17" || echo "-std=gnu++14")
-CPPFLAGS=-Wall -O2 $(STANDARD) -fPIC -I/usr/include/$(ARCH)/qt5 -I/usr/include/$(ARCH)/qt5/QtCore
+CPPFLAGS=-Wall -O2 $(STANDARD) -fPIC -DPROGRAMVERSION=$(VERSION) -I/usr/include/$(ARCH)/qt5 -I/usr/include/$(ARCH)/qt5/QtCore
LDFLAGS=-Wall -O2 $(STANDARD) -fPIC
LIBS=-lstdc++ -lfcgi -lQt5Core
OBJS=webbox.o