changes in define macros and switches, improved piping support
[ust.git] / config.mk
1 VERSION = 0.2.1
2
3 TARGET = ust
4
5 PREFIX = /usr/local
6 MANPREFIX = ${PREFIX}/share/man
7
8 # need -D_GNU_SOURCE when compiling on Linux
9 OS != uname -s
10
11 GNUSRC != if [ "${OS}" = "Linux" ]; then \
12 printf "%s" "-D_GNU_SOURCE"; \
13 fi
14
15 CFLAGS = -std=c99 -Wall -pthread -O2 ${GNUSRC}
16 LDFLAGS =
17
18 CC = cc