void MComponent::expand( WString& c, const MCommand& cmd ) { if( cmd.size() > 0 ) { cmd.expand( c, _target, _config->nilTool(), _mask, NULL, _mode ); c.concat( "\n" ); _project->insertBlanks( c ); } }
void MProject::expand( ContFile& pmak, const MCommand& cmd, const char* head ) { if( cmd.size() > 0 ) { pmak.printf( "%s\n", head ); MCommand c; cmd.expand( c, &_filename, _config->nilTool(), "*", NULL, 0 ); insertBlanks( c ); pmak.puts( c ); pmak.puts( "\n" ); } }