config.mk (723B)
1 # dwm version 2 VERSION = 6.1 3 4 # Customize below to fit your system 5 6 # paths 7 #PREFIX = /usr/local 8 MANPREFIX = ${PREFIX}/share/man 9 10 #X11INC = /usr/X11R6/include 11 #X11LIB = /usr/X11R6/lib 12 13 # Xinerama, comment if you don't want it 14 XINERAMALIBS = -lXinerama 15 XINERAMAFLAGS = -DXINERAMA 16 17 # includes and libs 18 #INCS = -I${X11INC} 19 LIBS = -lX11 ${XINERAMALIBS} 20 21 # flags 22 CPPFLAGS += -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} 23 #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} 24 CFLAGS += -std=c99 -Wno-deprecated-declarations ${INCS} ${CPPFLAGS} 25 LDFLAGS += ${LIBS} 26 27 # Solaris 28 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" 29 #LDFLAGS = ${LIBS} 30 31 # compiler and linker 32 #CC = cc 33 #LD = $(CC)