Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Re:generateCommandLineInfo()ofIManagedCommandLineGenerator

Daoust, Dave wrote:
> Note that
> 
> target:
>     @echo <cmd>
>     @<cmd>
> 
> seems a bit odd anyway.  The gnu generator has
> 
> target:
>     <cmd>

In the CDT 3.0.2 source, GnuMakefileGenerator clearly generates the
first.  Perhaps it has been changed in later versions.

  Jeremiah Lott
  TimeSys Corporation

GnuMakefileGenerator.java:addRuleForTool(...):line 1623:
	buffer.append(TAB + AT + ECHO + WHITESPACE + buildCmd +
NEWLINE);
	buffer.append(TAB + AT + buildCmd);

GnuMakefileGenerator.java:addRuleForSource(...):line 2352:
	buffer.append(TAB + AT + ECHO + WHITESPACE + buildCmd +
NEWLINE);
	buffer.append(TAB + AT + buildCmd);

GnuMakefileGenerator.java:addRuleForSource(...):line 2410:
	buffer.append(TAB + AT + ECHO + WHITESPACE + buildCmd +
NEWLINE);
	buffer.append(TAB + AT + buildCmd);



Back to the top