X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.mk;h=c0d466bb3903d8b6a9ba6de367115faa0aebc09e;hb=5ed5e90bfb7760f24661281cf7156087afbe49d3;hp=4264514d908f3845e594e3500d01208de32f9eb6;hpb=a0a99d10e1a019f74a8b2af4d5f8b47348e08a75;p=dmenu.git diff --git a/config.mk b/config.mk index 4264514..c0d466b 100644 --- a/config.mk +++ b/config.mk @@ -1,7 +1,5 @@ # dmenu version -VERSION = 4.2 - -# Customize below to fit your system +VERSION = 4.5-tip # paths PREFIX = /usr/local @@ -19,8 +17,8 @@ INCS = -I${X11INC} LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} # flags -CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${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