Re: How to recompile the code when the header file changed?

"Zbigniew Zagórski" <[email protected]> Sun, 5 Oct 2008 22:35:31 +0200
Newsgroups gmane.comp.sysutils.bakefile.devel
Message-ID <[email protected]>
2008/10/5 Jiang Miao <[email protected]>:
> Here is a test code in bakefile/tests/headers
>
> After I run
> bakefile -f msvc headers.bkl
> nmake -f makefile.vc
> bakefile works well.
>
> I try to modify headers/test/hello.h
> and run
> nmake -f makefile.vc again
> but nothing happened
> and I found there is no header relation code in the file 'makefile.vc'
>
> How to solve the problem? My bakefile version is 0.2.4

Makefile for MSVS  ont have advanced dependecies included. The only
dependency is between executable/library and source file. Dependencies
of source files are out of scope of this makefile. Use MSVS IDE which
can inter-source  track dependencies.

AFAIR only autoconf + gcc makefile can track dependecies.

Best regards,
Zbyszek

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/