config.mk (1129B)
1 # birdwm version 2 VERSION = 6.6 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 # Wallpaper folder location, for nsxiv: 18 XDG_PICTURES ?= ${HOME}/Pictures 19 WALLPAPERDIR = ${XDG_PICTURES}/wallpapers 20 21 # freetype 22 FREETYPELIBS = -lfontconfig -lXft 23 FREETYPEINC = /usr/include/freetype2 24 # OpenBSD (uncomment) 25 #FREETYPEINC = ${X11INC}/freetype2 26 #MANPREFIX = ${PREFIX}/man 27 28 # includes and libs 29 INCS = -I${X11INC} -I${FREETYPEINC} 30 LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lXrender -lImlib2 31 32 # flags 33 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -DWALLPAPERDIR=\"${WALLPAPERDIR}\" 34 #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} 35 CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} 36 LDFLAGS = ${LIBS} 37 38 # Solaris 39 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" 40 #LDFLAGS = ${LIBS} 41 42 # compiler and linker 43 CC = cc