dwm

Mahdi's build of dwm
git clone git://mahdi.pw/dwm.git
Log | Files | Refs | README | LICENSE

config.mk (997B)


      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 BDINC = /usr/include/fribidi
     14 
     15 # Xinerama, comment if you don't want it
     16 XINERAMALIBS  = -lXinerama
     17 XINERAMAFLAGS = -DXINERAMA
     18 
     19 # freetype
     20 FREETYPELIBS = -lfontconfig -lXft
     21 FREETYPEINC = /usr/include/freetype2
     22 # OpenBSD (uncomment)
     23 #FREETYPEINC = ${X11INC}/freetype2
     24 
     25 BDLIBS = -lfribidi
     26 
     27 # includes and libs
     28 INCS = -I${X11INC} -I${FREETYPEINC} -I$(BDINC)
     29 LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} $(BDLIBS)
     30 
     31 # flags
     32 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
     33 #CFLAGS   = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
     34 CFLAGS   = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
     35 LDFLAGS  = ${LIBS}
     36 
     37 # Solaris
     38 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
     39 #LDFLAGS = ${LIBS}
     40 
     41 # compiler and linker
     42 CC = cc