Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
applied nsz's another style patch
[dwm.git]
/
config.mk
diff --git
a/config.mk
b/config.mk
index
4b2ff6c
..
f2750fb
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-1,11
+1,8
@@
# dwm version
# dwm version
-VERSION =
4.5
+VERSION =
5.0
# 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
@@
-20,13
+17,12
@@
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
# flags
CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
LDFLAGS = -s ${LIBS}
# flags
CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
LDFLAGS = -s ${LIBS}
-
#CFLAGS = -g
-Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
-
#
LDFLAGS = -g ${LIBS}
+
CFLAGS = -g -std=c99 -pedantic
-Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
+LDFLAGS = -g ${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