X-Git-Url: https://git.xinqibao.xyz/dmenu.git/blobdiff_plain/a45f106d3c6e253109dd47b6a193f991c7bde203..b27ffbd78bc2f88b4e55a39d1d53258305e2a6e7:/config.mk diff --git a/config.mk b/config.mk index 556086f..eb410dc 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # dmenu version -VERSION = 3.7 +VERSION = 4.1.1 # Customize below to fit your system @@ -19,14 +19,13 @@ INCS = -I. -I/usr/include -I${X11INC} LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS} # flags -CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} LDFLAGS = -s ${LIBS} # Solaris #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" #LDFLAGS = ${LIBS} -#CFLAGS += -xtarget=ultra # compiler and linker CC = cc