added 'first' attribute to <file>

svn path=/branches/xmlbuildsystem/; revision=13129
This commit is contained in:
Royce Mitchell III 2005-01-19 01:37:35 +00:00
parent 6f056ee7ce
commit 6a6a71b2f1
4 changed files with 23 additions and 7 deletions

View file

@ -447,6 +447,17 @@ MingwModuleHandler::GenerateMacros (
if ( files.size() )
{
for ( i = 0; i < files.size(); i++ )
{
if ( files[i]->first )
{
fprintf ( fMakefile,
"%s := %s $(%s)\n",
objs_macro.c_str(),
GetObjectFilename(files[i]->name).c_str(),
objs_macro.c_str() );
}
}
fprintf (
fMakefile,
"%s %s",
@ -455,7 +466,9 @@ MingwModuleHandler::GenerateMacros (
for ( i = 0; i < files.size(); i++ )
{
string extension = GetExtension ( files[i]->name );
if ( extension != ".spec" && extension != ".SPEC" )
if ( extension != ".spec"
&& extension != ".SPEC"
&& !files[i]->first )
{
fprintf (
fMakefile,