]> git.armaanb.net Git - dmenu.git/blobdiff - config.mk
adopted Alex Sedov's config.h revival patch to tip
[dmenu.git] / config.mk
index 08ea1bf0a7ccc29a6e6365ac31dd9eeb8852b928..c0d466bb3903d8b6a9ba6de367115faa0aebc09e 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -1,9 +1,5 @@
 # dmenu version
-VERSION = 4.2.1
-
-# dmenu_path cache (absolute or relative to $HOME)
-CACHE = .dmenu_cache
-
+VERSION = 4.5-tip
 
 # paths
 PREFIX = /usr/local
@@ -21,8 +17,8 @@ INCS = -I${X11INC}
 LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS}
 
 # flags
-CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" -DCACHE=\"${CACHE}\" ${XINERAMAFLAGS}
-CFLAGS   = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+CFLAGS   = -ansi -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
 LDFLAGS  = -s ${LIBS}
 
 # compiler and linker