1997-05-14 01:01:55 +04:00
|
|
|
# $NetBSD: Makefile,v 1.4 1997/05/13 21:01:57 phil Exp $
|
1995-12-01 20:58:53 +03:00
|
|
|
|
|
|
|
PROG= cc1plus
|
1997-05-14 01:01:55 +04:00
|
|
|
SRCS= parse.c call.c decl.c errfn.c expr.c \
|
|
|
|
pt.c sig.c typeck2.c class.c decl2.c \
|
|
|
|
error.c gc.c lex.c ptree.c spew.c \
|
|
|
|
typeck.c cvt.c edsel.c except.c init.c \
|
|
|
|
method.c search.c tree.c xref.c repo.c \
|
|
|
|
|
1996-03-05 04:02:05 +03:00
|
|
|
lex.o pt.o spew.o: parse.h
|
|
|
|
|
1997-05-09 09:07:31 +04:00
|
|
|
CLEANFILES+= parse.c parse.h
|
1997-05-14 01:01:55 +04:00
|
|
|
|
1997-05-09 09:07:31 +04:00
|
|
|
parse.c parse.h: parse.y
|
1996-03-05 04:02:05 +03:00
|
|
|
$(YACC) -d $(.IMPSRC)
|
|
|
|
grep '^#define[ ]*YYEMPTY' y.tab.c >>y.tab.h
|
|
|
|
mv -f y.tab.c parse.c
|
|
|
|
mv -f y.tab.h parse.h
|
|
|
|
|
1997-05-09 09:07:31 +04:00
|
|
|
.include "../Makefile.cc1"
|