head     1.2;
access   ;
symbols  ;
locks    ; strict;
comment  @# @;


1.2
date     86.03.06.09.35.12;  author root;  state Exp;
branches ;
next     1.1;

1.1
date     86.02.28.15.37.18;  author root;  state Exp;
branches ;
next     ;


desc
@@


1.2
log
@added dependencies for everything.
@
text
@#
# $Header: Makefile,v 1.1 86/02/28 15:37:18 root Exp $
#
# $Log:	Makefile,v $
# Revision 1.1  86/02/28  15:37:18  root
# Initial revision
# 
#
#	@@(#)Makefile	4.1	2/9/83
#
DIFF=	/bin/diff
DIFFH=	/usr/lib/diffh
PR=	/bin/pr
CFLAGS=	-O -DDIFF='"${DIFF}"' -DDIFFH='"${DIFFH}"' -DPR='"${PR}"'
DESTDIR=

SRCS=	diff.c diffdir.c diffreg.c
HDRS=	diff.h
OBJS=	diff.o diffdir.o diffreg.o

all: diff diffh

diff: ${OBJS}
	cc ${CFLAGS} -o diff ${OBJS} ${LDFLAGS}

diffh: diffh.o
	cc -o diffh diffh.o ${LDFLAGS}

clean:
	rm -f diff diffh ${OBJS} diffh.o

install:
	install -s diff ${DESTDIR}/bin/diff
	install -s diffh ${DESTDIR}/usr/lib/diffh
diff.c:		 diff.h
diffdir.c:	 diff.h
diffdir.c:	 /usr/include/a.out.h
diffh.c:	 /usr/include/stdio.h
diffh.c:	 /usr/include/ctype.h
diffh.c:	 /usr/include/sys/types.h
diffh.c:	 /usr/include/sys/stat.h
diffreg.c:	 diff.h
diffreg.c:	 /usr/include/a.out.h
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $Header$
d4 4
a7 1
# $Log$
d35 9
@
