On Fri, 2005-01-07 at 09:15, Simon De Groot wrote:
> I hope someone can help me out here. Consider the following makefile:

[snip]

I realize that this isn't a direct answer to your question, but your
Makefile breaks Paul's 2nd Rule of Makefiles:

"Every non-.PHONY rule must update a file with the exact name of its
target.  Make sure every command script touches the file "$@"-- not
"../$@", or "$(notdir $@)", but exactly [EMAIL PROTECTED] That way you and GNU 
make
always agree."

The "$(CDS2HDL_ENTS_TS) : $(CDS2HDL_ENT_TS)" and "%_ent.vhd : %.cdb" are
updating multiple targets and if you run your Makefile you can see that
different rules are updating the same target: one_ent.vhd is touched by
the "batch" rule and the "single" rule.

What are you trying to achieve with all these timestamp files?

John.
-- 
John Graham-Cumming

Home: http://www.jgc.org/
Work: http://www.electric-cloud.com/
POPFile: http://getpopfile.org/




_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to