dwm

my dwm build
Log | Files | Refs | LICENSE

config.mk (989B)


      1 # dwm version
      2 VERSION = 6.4
      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 # freetype
     18 FREETYPELIBS = -lfontconfig -lXft
     19 FREETYPEINC = /usr/include/freetype2
     20 
     21 # OpenBSD (uncomment)
     22 FREETYPEINC = ${X11INC}/freetype2
     23 MANPREFIX = ${PREFIX}/man
     24 
     25 # includes and libs
     26 INCS = -I${X11INC} -I${FREETYPEINC}
     27 LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lX11-xcb -lxcb -lxcb-res -lXrender
     28 
     29 # flags
     30 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
     31 #CFLAGS   = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
     32 CFLAGS   = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
     33 LDFLAGS  = ${LIBS}
     34 
     35 # Solaris
     36 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
     37 #LDFLAGS = ${LIBS}
     38 
     39 # compiler and linker
     40 CC = cc