Xinqi Bao's Git

shorter copyright notice and moved back VERSION and _GNU_SOURCE as the man page versi...
[slstatus.git] / config.mk
1 # See LICENSE file for copyright and license details.
2
3 VERSION = 2.0
4
5 PREFIX = /usr/local
6 MANPREFIX = ${PREFIX}/share/man
7
8 X11INC = /usr/X11R6/include
9 X11LIB = /usr/X11R6/lib
10
11 INCS = -I. -I/usr/include -I${X11INC}
12 LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lasound
13
14 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
15 # -Wno-unused-function for routines not activated by user
16 CFLAGS = -std=c99 -pedantic -Wno-unused-function -Wall -Wextra -Os ${INCS} ${CPPFLAGS}
17 LDFLAGS = ${LIBS}
18
19 CC = cc
20 LD = ld