Dependency on object files

Lars Ivar Igesund <[email protected]> Wed, 25 Feb 2004 18:35:09 +0100
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Hi!

It seems to me that if I have

:program foo : foo.d,

then foo.exe only depends on foo.d and not foo.obj. Is this
the case? I have a situation where foo.d is recompiled because
one of it's dependencies (in bar.lib) changed. But because
foo.d didn't change, foo.exe isn't rebuilt from the new
foo.obj and thus the executable don't reflect the changes.

I'd like to fix this myself but I'm not really sure where this
fits.

Lars Ivar Igesund


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click