X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=config.mk;h=ede70af13a947d1590160e725bd3b23dbeb099c7;hp=2f41d743a41d2cdac638b679373fa82dc0c7b340;hb=39d1ecd5b0b22dbd61ba5206c9f08a187f911b2a;hpb=632c7f34101920dbdf1b724a5462687696d509fe diff --git a/config.mk b/config.mk index 2f41d74..ede70af 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # dwm version -VERSION = 0.8 +VERSION = 5.0 # Customize below to fit your system @@ -10,15 +10,24 @@ MANPREFIX = ${PREFIX}/share/man X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib +# Xinerama, comment if you don't want it +XINERAMALIBS = -L${X11LIB} -lXinerama +XINERAMAFLAGS = -DXINERAMA + # 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 ${XINERAMALIBS} # flags -CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" -LDFLAGS = ${LIBS} -#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -#LDFLAGS = -g ${LIBS} +CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +#CFLAGS = -Os ${INCS} ${CPPFLAGS} +#LDFLAGS = -s ${LIBS} +CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} ${CPPFLAGS} +LDFLAGS = -g ${LIBS} + +# Solaris +#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" +#LDFLAGS = ${LIBS} -# compiler +# compiler and linker CC = cc