all repos — dwm @ 606b44179dfeec8d31930488aa91c8d4808235a7

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}
19LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS}
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