swm

sigma window manager
git clone git://wolog.xyz/swm
Log | Files | Refs | README | LICENSE

config.mk (704B)


      1 PREFIX = /usr/local
      2 
      3 X11INC = /usr/X11R6/include
      4 X11LIB = /usr/X11R6/lib
      5 
      6 # comment out to disable Xinerama
      7 XINERAMALIBS  = -lXinerama
      8 XINERAMAFLAGS = -DXINERAMA
      9 
     10 FREETYPELIBS = -lfontconfig -lXft
     11 FREETYPEINC  = /usr/include/freetype2
     12 
     13 # uncomment for OpenBSD
     14 #FREETYPEINC = ${X11INC}/freetype2
     15 
     16 INCS = -I${X11INC} -I${FREETYPEINC}
     17 LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
     18 
     19 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L ${XINERAMAFLAGS}
     20 #CFLAGS   = -g -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
     21 CFLAGS   = -pedantic -Wall -Os ${INCS} ${CPPFLAGS} -Wno-deprecated-declarations
     22 LDFLAGS  = ${LIBS}
     23 
     24 # uncomment for Solaris
     25 #CFLAGS  = -fast ${INCS}
     26 #LDFLAGS = ${LIBS}
     27 
     28 CC = c99