X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/3af6434085aee75bd90e22aee95419dc0ae0b969..a2175cf71a0d60570daf22b79f409a2165300a56:/config.mk diff --git a/config.mk b/config.mk index 4772ff0..dd70d38 100644 --- a/config.mk +++ b/config.mk @@ -1,11 +1,8 @@ # dwm version -VERSION = 0.6 +VERSION = 2.3 # Customize below to fit your system -# configheader -CONFIG = config.h - # paths PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man @@ -14,14 +11,15 @@ X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib # includes and libs -INCS = -I/usr/lib -I${X11INC} +INCS = -I. -I/usr/include -I${X11INC} LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 # flags -CFLAGS = -O3 ${INCS} -DVERSION=\"${VERSION}\" -DCONFIG=\"${CONFIG}\" +CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" LDFLAGS = ${LIBS} -#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -DCONFIG=\"${CONFIG}\" +#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" #LDFLAGS = -g ${LIBS} -# compiler +# compiler and linker CC = cc +LD = ${CC}