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


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

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


desc
@@


1.2
log
@scan.o and parse.o now depend on scan.l and parse.y instead of on
intermediary ".c" files
@
text
@#
# $Header: Makefile,v 1.1 86/03/03 10:04:18 root Exp $
#
# $Log:	Makefile,v $
# Revision 1.1  86/03/03  10:04:18  root
# Initial revision
# 
#
# @@(#)Makefile	4.6 11/3/83
CFLAGS=	-O
DESTDIR=
ALL=	htable

all:	${ALL}

htable:	htable.o parse.o scan.o
	${CC} htable.o parse.o scan.o -o htable

htable.o: htable.c htable.h
	${CC} ${CFLAGS} -c htable.c

scan.o:	scan.l htable.h y.tab.h

parse.o: parse.y htable.h

y.tab.h:
	${YACC} -d parse.y
	rm y.tab.c

clean:
	rm -f ${ALL} *.o *.s y.tab.h errs a.out core rslts

install:
	install -s htable ${DESTDIR}/etc/htable
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $Header$
d4 4
a7 1
# $Log$
d22 1
a22 1
scan.o:	scan.c htable.h y.tab.h
d24 1
a24 1
parse.o: parse.c htable.h
a25 4
scan.c:	scan.l

parse.c: parse.y

d31 1
a31 1
	rm -f ${ALL} *.o *.s y.tab.h errs
@
