all repos — dwm @ fd3c19bd550e346d515c8e124c7fa55599a1aa22

fork of suckless dynamic window manager

config.mk (view raw)

 1# dwm version
 2VERSION = 6.1
 3
 4# Customize below to fit your system
 5
 6# paths
 7PREFIX = /usr/local
 8MANPREFIX = ${PREFIX}/share/man
 9
10X11INC = /usr/X11R6/include
11X11LIB = /usr/X11R6/lib
12
13# Xinerama, comment if you don't want it
14XINERAMALIBS  = -lXinerama
15XINERAMAFLAGS = -DXINERAMA
16
17# includes and libs
18INCS = -I${X11INC} -I/usr/include/freetype2
19LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} -lutil -lXext -lXft -lfontconfig
20
21# flags
22CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
23#CFLAGS   = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
24CFLAGS   = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
25LDFLAGS  = -s ${LIBS}
26
27# Solaris
28#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
29#LDFLAGS = ${LIBS}
30
31# compiler and linker
32CC = cc