X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=config.mk;h=f2335acc85c27c560a30d597b108e77356648bd1;hp=d65472e97048513dbc94d4c2cbc4c9cf94258259;hb=d6e24f7116768427a2bb7a2b04f5295b9b5fb327;hpb=a73a88280681acdab047bd11a9ba77d97d6a0b72 diff --git a/config.mk b/config.mk index d65472e..f2335ac 100644 --- a/config.mk +++ b/config.mk @@ -1,4 +1,7 @@ -# Customize to fit your system +# dwm version +VERSION = 4.8 + +# Customize below to fit your system # paths PREFIX = /usr/local @@ -8,20 +11,19 @@ X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib # includes and libs -INCS = -I/usr/lib -I${X11INC} -LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 +INCS = -I. -I/usr/include -I${X11INC} +LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXinerama # flags -CFLAGS = -O3 ${INCS} -DVERSION=\"${VERSION}\" -DCONFIG=\"${CONFIG}\" -LDFLAGS = ${LIBS} -#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -DCONFIG=\"${CONFIGH}\" -#LDFLAGS = -g ${LIBS} - -# compiler -CC = cc +CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" +LDFLAGS = -s ${LIBS} +CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" +LDFLAGS = -g ${LIBS} -# dwm version -VERSION = 0.6 +# Solaris +#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" +#LDFLAGS = ${LIBS} +#CFLAGS += -xtarget=ultra -# default config.h -CONFIG = config.h +# compiler and linker +CC = cc