X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=config.mk;h=df190f153b86943f3515ba9e41364b74ad189e10;hp=b3c8cf749010010175a262f09df62edf4fc6d0ab;hb=3d6630b7d24685c767ecadc131b566d23d944a83;hpb=77f8c075c48e510e064b8f0b7b823a7e1f9f44b7 diff --git a/config.mk b/config.mk index b3c8cf7..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 -# dwm version -VERSION = 0.6 - -# default config.h -CONFIG = config.h - # flags -CFLAGS = -O3 ${INCS} -DVERSION=\"${VERSION}\" -DCONFIG=\"${CONFIG}\" -LDFLAGS = ${LIBS} -#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -DCONFIG=\"${CONFIG}\" +CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" +LDFLAGS = -s ${LIBS} +#CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" #LDFLAGS = -g ${LIBS} -# compiler +# Solaris +#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" +#LDFLAGS = ${LIBS} + +# compiler and linker CC = cc