Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Managed Makefile alterations
Managed Makefile alterations [message #176286] Sat, 09 September 2006 18:31 Go to next message
Eclipse UserFriend
Originally posted by: jruzinok.no.spam.accepted.here-acm.org

Is there a way to edit what gets manually generated for the makefile?
I've gone through the help files and found where variables can be set but
that's not what I want to change. I am running eclipse on Windows and it
uses RM := rm -rf and I want to change that line to RM := -del. Since the
file is automatically generated any change made is discarded when it gets
created before building.

Thanks in advance,

James
Re: Managed Makefile alterations [message #176292 is a reply to message #176286] Sun, 10 September 2006 06:58 Go to previous message
Eclipse UserFriend
Originally posted by: eclipsenews.richardmiskin.plus.com

With CDT 3.1 (not sure about earlier versions) there are three include lines
in the Makefile that include user modifiable files. These are something like
makefile.init, makefile.defs and makefile.targets and are expected to be in
the project root directory. Maybe you could create one of these and redefine
RM in that.

You'll have to look at the Makefile to make sure you get the names correct.

Cheers,
Richard


"James R. Ruzinok" <jruzinok@no.spam.accepted.here-acm.org> wrote in message
news:Xns9839B251CDE78jruzinokatacmdotorg@206.191.52.34...
> Is there a way to edit what gets manually generated for the makefile?
> I've gone through the help files and found where variables can be set but
> that's not what I want to change. I am running eclipse on Windows and it
> uses RM := rm -rf and I want to change that line to RM := -del. Since the
> file is automatically generated any change made is discarded when it gets
> created before building.
>
> Thanks in advance,
>
> James
Previous Topic:Where is CDT 3.1?
Next Topic:reusing the CDT gdb debugger
Goto Forum:
  


Current Time: Thu May 01 16:44:28 EDT 2025

Powered by FUDForum. Page generated in 0.05280 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top