pinosaur
/
dwm.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Function declarations in correct order.
[dwm.git]
/
config.mk
diff --git
a/config.mk
b/config.mk
index
4b2ff6c
..
80dc936
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-1,11
+1,8
@@
# dwm version
# dwm version
-VERSION =
4.5
+VERSION =
6.1
# Customize below to fit your system
# Customize below to fit your system
-# additional layouts beside floating
-SRC = tile.c
-
# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
@@
-13,20
+10,29
@@
MANPREFIX = ${PREFIX}/share/man
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
+# Xinerama, comment if you don't want it
+XINERAMALIBS = -lXinerama
+XINERAMAFLAGS = -DXINERAMA
+
+# freetype
+FREETYPELIBS = -lfontconfig -lXft
+FREETYPEINC = /usr/include/freetype2
+# OpenBSD (uncomment)
+#FREETYPEINC = ${X11INC}/freetype2
+
# includes and libs
# includes and libs
-INCS = -I
. -I/usr/include -I${X11
INC}
-LIBS = -L
/usr/lib -lc -L${X11LIB} -lX11
+INCS = -I
${X11INC} -I${FREETYPE
INC}
+LIBS = -L
${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
# flags
# flags
-C
FLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
-
LDFLAGS = -s ${LIB
S}
-#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
-
#LDFLAGS = -g
${LIBS}
+C
PPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAG
S}
+CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
+
LDFLAGS = -s
${LIBS}
# Solaris
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
#LDFLAGS = ${LIBS}
# Solaris
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
#LDFLAGS = ${LIBS}
-#CFLAGS += -xtarget=ultra
# compiler and linker
CC = cc
# compiler and linker
CC = cc