X-Git-Url: https://git.xinqibao.xyz/dmenu.git/blobdiff_plain/26b9f3de0ffe471e5335b07454147457e373c037..bae58f61cf03260d018796edf2bd3fd5e07450ed:/config.mk

diff --git a/config.mk b/config.mk
index c8bbdcd..eb55470 100644
--- a/config.mk
+++ b/config.mk
@@ -1,7 +1,5 @@
 # dmenu version
-VERSION = 4.1.1
-
-# Customize below to fit your system
+VERSION = 4.4
 
 # paths
 PREFIX = /usr/local
@@ -11,21 +9,17 @@ X11INC = /usr/X11R6/include
 X11LIB = /usr/X11R6/lib
 
 # Xinerama, comment if you don't want it
-XINERAMALIBS = -L${X11LIB} -lXinerama
+XINERAMALIBS  = -lXinerama
 XINERAMAFLAGS = -DXINERAMA
 
 # includes and libs
-INCS = -I. -I/usr/include -I${X11INC}
-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -ldraw ${XINERAMALIBS}
+INCS = -I${X11INC}
+LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS}
 
 # flags
 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   = -ansi -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+LDFLAGS  = -s ${LIBS}
 
 # compiler and linker
 CC = cc