help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with yacc implicit rule


From: Crni Gorac
Subject: problem with yacc implicit rule
Date: Sun, 25 Nov 2001 07:55:08 -0800 (PST)

Am working on library foo that is using yacc for
parsing; got foo.y file in project, however I have
also unrelated foo.c file in project. So I have rules
in my makefile to create y.tab.c file from foo.y, as
well as library from y.tab.c and foo.c files. 
However, henever foo.y is newer from foo.c, make is
trying to regenerate foo.c from foo.y. Now, I
understand that this is because of implicit make rule
for .y files, but I'm wondering what is proper way to
avoid this behavior.

Thanks.



__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]