Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Build multiple makefiles
Build multiple makefiles [message #182496] Thu, 18 January 2007 13:57 Go to next message
Eclipse UserFriend
Originally posted by: icarus_31.yahoo.com

Hi,

I have already a Linux project in hands that was done using makefiles. One
makefile that calls other makefiles with a makefile.inc. Here is the
"tree" of my project

ROOT
|-- PRJ1: makefile, c code
|-- PRJ2: makefile, c code
|-- ...
|-- PRJn: makefile, c code
|-- makefile
|-- makefile.inc

I succeeded to import the project inside Eclipse.
I have cygwin and GNUARM installed on Windows XP. Yes I want to compile
that code in XP. Probably later I will do it in Linux as well.

Now, I want to compile everything using the existent makefile. How can I
do that?

Thanks
Re: Build multiple makefiles [message #182506 is a reply to message #182496] Thu, 18 January 2007 18:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: asdf.dd.dd

>
> I succeeded to import the project inside Eclipse.

I hope you imported that as a Standard Make project ?

You then find the "make targets" box/pane and right click and choose "add
build target"
When you double click the new entry, eclipse should call make with your
makefile and options.

tpt
Re: Build multiple makefiles [message #182543 is a reply to message #182506] Fri, 19 January 2007 07:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: icarus_31.yahoo.com

Hi,

Thanks for your help.

Now, my problem is more about the makefile. I have an error when searching
for a variable. Anyway, I do not think this problem should be mention in
that newsgroup

Thanks again
Re: Build multiple makefiles [message #182595 is a reply to message #182543] Sat, 20 January 2007 07:06 Go to previous message
Eclipse UserFriend
Originally posted by: asdf.dd.dd

> Now, my problem is more about the makefile. I have an error when searching
> for a variable. Anyway, I do not think this problem should be mention in
> that newsgroup

You are probably right, are you sure that it can compile from the command
line ?
Otherwise it could be something about wrong default directory ?

tpt
Previous Topic:Can't build launch configurations on solaris
Next Topic:How to custom target output dir for Managed Make C++ project?
Goto Forum:
  


Current Time: Wed Jun 18 10:41:46 EDT 2025

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

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

Back to the top