0
|
1 |
# dwm version |
|
2 |
VERSION = 5.9 |
|
3 |
|
|
4 |
# Customize below to fit your system |
|
5 |
|
|
6 |
# paths |
|
7 |
PREFIX = /usr/local |
|
8 |
MANPREFIX = ${PREFIX}/share/man |
|
9 |
|
|
10 |
# includes and libs |
|
11 |
INCS = -I. -I/usr/include |
|
12 |
LIBS = -L/usr/lib -lc -lmagic `xapian-config --libs` `pcre-config --libs-cpp` |
|
13 |
|
|
14 |
# flags |
|
15 |
CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -D_BSD_SOURCE=1 |
|
16 |
CFLAGS = -g -std=c++0x -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} |
|
17 |
#CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} |
|
18 |
LDFLAGS = -g ${LIBS} |
|
19 |
#LDFLAGS = -s ${LIBS} |
|
20 |
|
|
21 |
OBJS = walker.o scan.o |
|
22 |
# magi.o |
|
23 |
|
|
24 |
# compiler and linker |
|
25 |
CC = cc |