summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Luedecke <ritze@skweez.net>2017-09-24 10:19:15 +0200
committerMoritz Luedecke <ritze@skweez.net>2017-09-24 10:19:15 +0200
commit6a22ded419a9b22f6b05b4c9ef2655e83ecf9d35 (patch)
tree6091c21a3e2ff5d360d7c06a880929a53836193a
parentf0f9376c92abac5258079928123567af99b3558c (diff)
Add DATE and update BUGREPORT
-rw-r--r--config.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/config.mk b/config.mk
index 0ab077b..4c71211 100644
--- a/config.mk
+++ b/config.mk
@@ -1,9 +1,10 @@
# Pinentry settings
-VERSION = 0.1
-PACKAGE_BUGREPORT = https://github.com/ritze/pinentry-dmenu
+DATE = $$(date +'%B %Y')
+VERSION = 0.1
+BUGREPORT = https:\/\/github.com\/ritze\/pinentry-dmenu
# Paths
-PREFIX = /usr/local
+PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
X11INC = /usr/X11R6/include
@@ -24,7 +25,7 @@ INCS = -I${X11INC} -I${FREETYPEINC}
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
# Flags
-CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -DPACKAGE_VERSION=\"${VERSION}\" -DPACKAGE_BUGREPORT=\"${PACKAGE_BUGREPORT}\"
+CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -DPACKAGE_VERSION=\"${VERSION}\" -DPACKAGE_BUGREPORT=\"${BUGREPORT}\"
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}