merge rrestor and restor
[unix-history] / usr / src / sbin / restore / Makefile
... / ...
CommitLineData
1# Copyright (c) 1982 Regents of the University of California
2#
3# @(#)Makefile 4.2 (Berkeley) %G%
4#
5NETSER= /usr/src/ucb/netser
6
7OBJS= dumprmt.o ${NETSER}/rcmd.o
8CFLAGS=
9
10all: rrestor restor
11
12restor: restor.c
13 cc -o restor restor.c
14
15rrestor: ${OBJS} rrestor.o
16 cc -o rrestor ${OBJS} rrestor.o -ljobs
17
18rrestor.o: restor.c
19 cc -c -DRRESTOR restor.c
20 mv restor.o rrestor.o
21
22install: rrestor restor
23 cp rrestor /etc
24 cp restor /etc
25
26clean:
27 rm -f restor rrestor *.o errs