On Sun, 2010-05-30 at 22:01 -0700, Palani Chinnakannan (pals) wrote:
> $(EXPORTED_HDRS): $(EXPORT_HDRS)

If you write a rule like:

        foo bar biz : fee fie foe

then make interprets that to mean EXACTLY the same thing as:

        foo : fee fie foe
        bar : fee fie foe
        biz : fee fie foe

This explains your problem, I believe, since every target in
$(EXPORTED_HDRS) lists ALL the files in $(EXPORT_HDRS) as a
prerequisite, and so will be considered out of date if ANY file in
$(EXPORT_HDRS) is newer, and each target will be updated.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psm...@gnu.org>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to