858338d9 |
1 | # program name |
a7732690 |
2 | PROG = xmenu |
3 | |
4 | # paths |
5 | PREFIX = /usr/local |
6 | MANPREFIX = ${PREFIX}/share/man |
7 | |
8 | X11INC = /usr/X11R6/include |
9 | X11LIB = /usr/X11R6/lib |
10 | |
dbeb9940 |
11 | FREETYPEINC = /usr/include/freetype2 |
dbeb9940 |
12 | # OpenBSD (uncomment) |
33376f54 |
13 | #FREETYPEINC = ${X11INC}/freetype2 |
dbeb9940 |
14 | |
a7732690 |
15 | # includes and libs |
33376f54 |
16 | INCS = -I/usr/local/include -I${X11INC} -I${FREETYPEINC} |
17 | LIBS = -L/usr/local/lib -L${X11LIB} -lfontconfig -lXft -lX11 -lImlib2 |
a7732690 |
18 | |
19 | # flags |
20 | CPPFLAGS = |
21 | CFLAGS = -Wall -Wextra ${INCS} ${CPPFLAGS} |
22 | LDFLAGS = ${LIBS} |
23 | |
24 | # compiler and linker |
25 | CC = cc |