updated on Thu Jan 12 16:09:17 UTC 2012
[aur-mirror.git] / multitee / Makefile
blob5613d181088056c7b44f14665bfb21baa9e25333
1 PREFIX = /usr/local
2 MANPREFIX = ${PREFIX}/share/man
4 CFLAGS = -Os
6 CC = cc
8 SRC = multitee.c sigdfl.c sigsched.c ralloc.c getopt.c fmt.c scan.c
9 OBJ = ${SRC:.c=.o}
11 all: ${OBJ}
12 ${CC} -o multitee ${OBJ}
14 .c.o:
15 ${CC} -c ${CFLAGS} $<
17 install: all
18 install -Dm0755 multitee ${DESTDIR}${PREFIX}/bin/multitee
19 install -Dm0644 multitee.1 ${DESTDIR}${MANPREFIX}/man1/multitee.1