# # $Header: /var/lib/cvsd/repos/CSRG/43BSD/contrib/hyper/hyroute/Makefile,v 1.1.1.1 2018/04/24 16:12:55 root Exp $ # $Locker: $ # CFLAGS=-O LPR=lprw USRINCLUDE=/usr/include all: hyroute .l.o: lex -v $*.l mv lex.yy.c $*.c ${CC} -c ${CFLAGS} $*.c .c.o: ${CC} -c ${CFLAGS} $*.c hyroute: hyr_main.o hyr_lex.o ${CC} ${CFLAGS} -o hyroute hyr_main.o hyr_lex.o -ll install: hyroute install -s hyroute ${DESTDIR}/usr/new/hyroute hyr_main.o: hyr_main.c hyr_sym.h ${USRINCLUDE}/vaxif/if_hy.h hyr_lex.o: hyr_lex.l hyr_sym.h clean: -rm -f *.o hyroute hyr_lex.c print: cat -n Makefile | fold -128 | pr -h `pwd`/Makefile >/usr/tmp/hyr_print cat -n README | fold -128 | pr -h `pwd`/README >>/usr/tmp/hyr_print cat -n test.input | fold -128 | pr -h `pwd`/test.input >>/usr/tmp/hyr_print cat -n hyr_sym.h | fold -128 | pr -h `pwd`/hyr_sym.h >>/usr/tmp/hyr_print cat -n hyr_lex.l | fold -128 | pr -h `pwd`/hyr_lex.l >>/usr/tmp/hyr_print cat -n hyr_main.c | fold -128 | pr -h `pwd`/hyr_main.c >>/usr/tmp/hyr_print ${LPR} /usr/tmp/hyr_print rm /usr/tmp/hyr_print