dwm

my heavily-patched and customized dwm build
git clone git://git.kocotian.pl/dwm.git
Log | Files | Refs | README | LICENSE

config.mk (1036B)


      1 # dwm version
      2 VERSION = 6.2
      3 BUILDNAME = -kocotian
      4 
      5 # Customize below to fit your system
      6 
      7 # paths
      8 PREFIX = /usr/local
      9 MANPREFIX = ${PREFIX}/share/man
     10 
     11 X11INC = /usr/X11R6/include
     12 X11LIB = /usr/X11R6/lib
     13 
     14 # Xinerama, comment if you don't want it
     15 XINERAMALIBS  = -lXinerama
     16 XINERAMAFLAGS = -DXINERAMA
     17 
     18 # freetype
     19 FREETYPELIBS = -lfontconfig -lXft
     20 FREETYPEINC = /usr/include/freetype2
     21 # OpenBSD (uncomment)
     22 #FREETYPEINC = ${X11INC}/freetype2
     23 #KVMLIB = -lkvm
     24 
     25 # includes and libs
     26 INCS = -I${X11INC} -I${FREETYPEINC}
     27 LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lX11-xcb \
     28 	   -lxcb -lxcb-res ${KVMLIB}
     29 
     30 # flags
     31 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}${BUILDNAME}\" ${XINERAMAFLAGS}
     32 #CFLAGS   = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
     33 CFLAGS   = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
     34 LDFLAGS  = ${LIBS}
     35 
     36 # Solaris
     37 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}${BUILDNAME}\"
     38 #LDFLAGS = ${LIBS}
     39 
     40 # compiler and linker
     41 CC = cc