summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.mk19
1 files changed, 9 insertions, 10 deletions
diff --git a/config.mk b/config.mk
index 484554a..7bb1c7c 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
1# dwm version 1# dwm version
2VERSION = 6.0 2VERSION = 6.0-tip
3 3
4# Customize below to fit your system 4# Customize below to fit your system
5 5
@@ -10,20 +10,19 @@ MANPREFIX = ${PREFIX}/share/man
10X11INC = /usr/X11R6/include 10X11INC = /usr/X11R6/include
11X11LIB = /usr/X11R6/lib 11X11LIB = /usr/X11R6/lib
12 12
13# Xinerama 13# Xinerama, comment if you don't want it
14XINERAMALIBS = -L${X11LIB} -lXinerama 14XINERAMALIBS = -lXinerama
15XINERAMAFLAGS = -DXINERAMA 15XINERAMAFLAGS = -DXINERAMA
16 16
17# includes and libs 17# includes and libs
18INCS = -I. -I/usr/include -I${X11INC} 18INCS = -I${X11INC}
19LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS} 19LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS}
20 20
21# flags 21# flags
22CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} 22CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
23#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} 23#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
24CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} 24CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
25#LDFLAGS = -g ${LIBS} 25LDFLAGS = -s ${LIBS}
26LDFLAGS = -s ${LIBS}
27 26
28# Solaris 27# Solaris
29#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" 28#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"