Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
added merged patch of anydot and Neale
[dwm.git]
/
config.mk
diff --git
a/config.mk
b/config.mk
index
b18ad33
..
086424d
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-1,5
+1,5
@@
# dwm version
# dwm version
-VERSION = 5.
0
+VERSION = 5.
7
# Customize below to fit your system
# Customize below to fit your system
@@
-10,15
+10,20
@@
MANPREFIX = ${PREFIX}/share/man
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
+# Xinerama, un-comment if you want it
+XINERAMALIBS = -L${X11LIB} -lXinerama
+XINERAMAFLAGS = -DXINERAMA
+
# includes and libs
INCS = -I. -I/usr/include -I${X11INC}
# includes and libs
INCS = -I. -I/usr/include -I${X11INC}
-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
+LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
${XINERAMALIBS}
# flags
# flags
-C
FLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
-
LDFLAGS = -s ${LIB
S}
-#CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
+C
PPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAG
S}
+CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
#LDFLAGS = -g ${LIBS}
#LDFLAGS = -g ${LIBS}
+LDFLAGS = -s ${LIBS}
# Solaris
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
# Solaris
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"