More accurate make rule.

This commit is contained in:
Kees van Reeuwijk 2010-04-21 14:41:20 +00:00
parent 86a23c1fbd
commit 87a9a2ecef

View file

@ -60,7 +60,7 @@ awk: ytab.o $(OFILES)
$(OFILES): awk.h ytab.h proto.h
ytab.o: awk.h proto.h awkgram.y
ytab.o ytab.c ytab.h: awk.h proto.h awkgram.y
$(YACC) $(YFLAGS) awkgram.y
mv y.tab.c ytab.c
mv y.tab.h ytab.h