CFLAGS = -O
OBJ = y1.o y2.o y3.o y4.o
I = /usr/include

yacc:           $(OBJ)
	cc -n -o yacc $(OBJ)
/bin/yacc:	yacc
	/etc/instcmd yacc /bin/yacc
	rm $(OBJ)

y1.o:		y1.c		dextern $I/stdio.h $I/ctype.h \
				files 
y2.o:		y2.c		dextern $I/stdio.h $I/ctype.h \
				files 
	cc -c $(CFLAGS) -TR2 y2.c
y3.o:		y3.c		dextern $I/stdio.h $I/ctype.h \
				files 
y4.o:		y4.c		dextern $I/stdio.h $I/ctype.h \
				files 

