X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.mk;h=92e244e5e00250d8a8b781edef76f1b04c816d29;hb=e21d93b7bd5d34f31bc09a576b7d449df5b68c07;hp=39533c2f2c79a72ec2cbccedbbb9e547579fda76;hpb=3aad92202d58208c4197857d3f17c535ba0bd56a;p=dwm.git diff --git a/config.mk b/config.mk index 39533c2..92e244e 100644 --- a/config.mk +++ b/config.mk @@ -1,28 +1,24 @@ -# Customize to fit your system +# dwm version +VERSION = 0.7 + +# Customize below to fit your system # paths PREFIX = /usr/local -CONFPREFIX = ${PREFIX}/etc MANPREFIX = ${PREFIX}/share/man X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib -VERSION = 0.0 - # includes and libs -LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11 +INCS = -I/usr/lib -I${X11INC} +LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -# Linux/BSD -CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \ - -DVERSION=\"${VERSION}\" +# flags +#CFLAGS = -O3 ${INCS} -DVERSION=\"${VERSION}\" +#LDFLAGS = ${LIBS} +CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" LDFLAGS = -g ${LIBS} - -# Solaris -#CFLAGS = -fast -xtarget=ultra ${INCLUDES} -DVERSION=\"${VERSION}\" -#LIBS += -lnsl -lsocket - -AR = ar cr +# compiler CC = cc -RANLIB = ranlib