3 .PHONY
: all test clean install uninstall
13 ${CC} ${LDFLAGS} -o
$@
${OBJS} ${LDLIBS}
18 (cd
test && .
/harness.sh
)
21 ${RM} -f
${OBJS} ${PROG}
23 install: ${PROG} ${PROG}.1
24 mkdir
-p
${DESTDIR}${PREFIX}/bin
25 install -m
755 ${PROG} ${DESTDIR}${PREFIX}/bin
26 mkdir
-p
${DESTDIR}${MANPREFIX}/man1
27 gzip
< ${PROG}.1 > ${DESTDIR}${MANPREFIX}/man1
/${PROG}.1.gz
30 ${RM} -f
${DESTDIR}${PREFIX}/bin
/${PROG}
31 ${RM} -f
${DESTDIR}${MANPREFIX}/man1
/${PROG}.1.gz
34 $(CC
) -c
$(CFLAGS
) -o
$@
$<