all repos — dwm @ 6b79f3f3266923292b0ad029c5e240349d9afa39

fork of suckless dynamic window manager

config.mk (view raw)

 1# dwm version
 2VERSION = 5.0
 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# includes and libs
14INCS = -I. -I/usr/include -I${X11INC}
15LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
16
17# flags
18CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
19LDFLAGS = -s ${LIBS}
20CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
21LDFLAGS = -g ${LIBS}
22
23# Solaris
24#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
25#LDFLAGS = ${LIBS}
26
27# compiler and linker
28CC = cc