`# $Id: Makefile.host,v 1.4 2010/12/06 18:21:55 ksb Exp $ # master Makefile for tickle PROG= tickle BIN= ${DESTDIR}/usr/local/sbin DOC= ${DESTDIR}/usr/local/man SRCs= tickle.ksh MAN= tickle.man OTHER= TODO SOURCE= Makefile ITO.spec ${OTHER} ${MAN} ${SRCs} all: ${PROG} ${PROG}: ${SRCs} sed -e "/^#\$$/d" -e "/^#[^!]/d" ${SRCs} > $@ chmod 755 $@ clean: FRC rm -f Makefile.bak ${PROG} a.out core errs lint.out tags deinstall: ${MAN} ${DOC} FRC install -R ${BIN}/${PROG} mkcat -r${DOC} -D ${MAN} depend: FRC dirs: ${BIN} ${LIB} distrib: FRC distrib -c ${BIN}/${PROG} HOST install: all dirs FRC install -c ${PROG} ${BIN}/${PROG} lint: FRC mkcat: ${MAN} ${DOC} FRC mkcat -r${DOC} ${MAN} print: source FRC lpr -J"${PROG} source" ${SOURCE} source: ${SOURCE} spotless: clean rcsclean ${SOURCE} tags: FRC ${BIN} ${LIB}: install -dr $@ ${SOURCE}: co -q $@ FRC: 'dnl