My configuration of sxmo fork of suckless dwm.

git clone git://watertao.xyz/programs/sxmo-dwm.git

config.mk (1128B)


      1 # dwm version
      2 VERSION = 6.3.1-sxmo
      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 # OpenBSD (uncomment)
     21 #FREETYPEINC = ${X11INC}/freetype2
     22 
     23 # Disable bonsai by uncommenting this
     24 #NOBONSAIFLAGS = -DNOBONSAI
     25 
     26 # includes and libs
     27 INCS = -I${X11INC} -I${FREETYPEINC} `pkg-config --cflags xft pango pangoxft`
     28 LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lX11-xcb -lxcb -lxcb-res -lrt `pkg-config --libs xft pango pangoxft`
     29 
     30 # flags
     31 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} ${NOBONSAIFLAGS}
     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}\"
     38 #LDFLAGS = ${LIBS}
     39 
     40 # compiler and linker
     41 CC = cc