X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=config.mk;h=b18ad3308073ab8a823834392a8033fbe7cfc91b;hp=d65472e97048513dbc94d4c2cbc4c9cf94258259;hb=874837f653433315bd2733823a0a1efe6f76b373;hpb=a73a88280681acdab047bd11a9ba77d97d6a0b72 diff --git a/config.mk b/config.mk index d65472e..b18ad33 100644 --- a/config.mk +++ b/config.mk @@ -1,4 +1,7 @@ -# Customize to fit your system +# dwm version +VERSION = 5.0 + +# 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