1# @(#)Makefile 5.10 (Berkeley) 05/11/90 2 3PROG= restore 4SRCS= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c 5ROBJS= main.o interactive.o restore.o dirs.o symtab.o rtape.o utilities.o \ 6 dumprmt.o 7MAN8= restore.0 rrestore.0 8.PATH: ${.CURDIR}/../dump 9CLEANFILES+=dumprmt.o rtape.o rrestore 10 11all: rrestore 12 13rrestore: ${ROBJS} ${LIBC} 14 ${CC} ${CFLAGS} -o ${.TARGET} ${ROBJS} 15 16rtape.o: tape.c ${LIBC} 17 ${CC} ${CFLAGS} -c -DRRESTORE ${.CURDIR}/tape.c -o ${.TARGET} 18 19afterinstall: 20 install ${STRIP} -o root -g ${BINGRP} -m 4755 rrestore \ 21 ${DESTDIR}${BINDIR} 22 23.include <bsd.prog.mk> 24