X-Git-Url: https://git.xinqibao.xyz/dmenu.git/blobdiff_plain/1f6af5e78f74c80fcb9853dcc2fc7940538808b0..8911aa10606b4fda9d766973b1c3e0e23bb2c266:/config.mk diff --git a/config.mk b/config.mk index c3ed11b..557f48c 100644 --- a/config.mk +++ b/config.mk @@ -20,15 +20,12 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS} # flags CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -CFLAGS = -Os ${INCS} ${CPPFLAGS} +CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} LDFLAGS = -s ${LIBS} -#CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -#LDFLAGS = -g ${LIBS} # Solaris #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" #LDFLAGS = ${LIBS} -#CFLAGS += -xtarget=ultra # compiler and linker CC = cc