bug-make
[Top][All Lists]
Advanced

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

Re: [PATCH] order-only prerequisite ends up in $<


From: Noel Yap
Subject: Re: [PATCH] order-only prerequisite ends up in $<
Date: Wed, 21 Apr 2004 06:52:30 -0400
User-agent: Mozilla Thunderbird 0.5 (Windows/20040212)

Jim wrote:

I'm not really sure if this falls in the same category, but the rule base is a pattern rule... it seems that something like

%.o:%.c | $(intermdiate_path)

intermediate_path is no longer order only, it is instead a valid rule, and that being a directory means it's often newer then the .o in certain filesystems.

in my make 3.80 under linux, $| doesn't have anything, $< is just the .c source file, other things have the intermediate path, but nothing indicates order only, as it would if the order only dependant was specified on a non-pattern rule...

If you simply touch $(intermediate_path), do all the .o's get rebuilt?

Thanks,
Noel





reply via email to

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