X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=config.mk;h=df190f153b86943f3515ba9e41364b74ad189e10;hp=d65472e97048513dbc94d4c2cbc4c9cf94258259;hb=3d6630b7d24685c767ecadc131b566d23d944a83;hpb=a73a88280681acdab047bd11a9ba77d97d6a0b72 diff --git a/config.mk b/config.mk index d65472e..df190f1 100644 --- a/config.mk +++ b/config.mk @@ -1,4 +1,7 @@ -# Customize to fit your system +# dwm version +VERSION = 4.9 + +# Customize below to fit your system # paths PREFIX = /usr/local @@ -8,20 +11,18 @@ 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}\" -LDFLAGS = ${LIBS} -#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -DCONFIG=\"${CONFIGH}\" +CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" +LDFLAGS = -s ${LIBS} +#CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" #LDFLAGS = -g ${LIBS} -# compiler -CC = cc - -# dwm version -VERSION = 0.6 +# Solaris +#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" +#LDFLAGS = ${LIBS} -# default config.h -CONFIG = config.h +# compiler and linker +CC = cc