Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
applied some necessary changes
[dwm.git]
/
config.mk
diff --git
a/config.mk
b/config.mk
index
2159481
..
f2335ac
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-1,5
+1,5
@@
# dwm version
# dwm version
-VERSION =
0.9
+VERSION =
4.8
# Customize below to fit your system
# Customize below to fit your system
@@
-11,15
+11,19
@@
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
# includes and libs
X11LIB = /usr/X11R6/lib
# includes and libs
-INCS = -I
/usr/lib
-I${X11INC}
-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
+INCS = -I
. -I/usr/include
-I${X11INC}
+LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
-lXinerama
# flags
CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
# flags
CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
-LDFLAGS = ${LIBS}
-#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
-#LDFLAGS = -g ${LIBS}
+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
# compiler and linker
CC = cc
-LD = ${CC}