How to tell eclipse that my makefile is in a subdirectory? [message #64549] |
Mon, 17 March 2003 20:27  |
Eclipse User |
|
|
|
Eclipse CDT assumes the makefile to be named makefile and to be found in the
root directory of the project. How can I tell adjust eclipse in a way that
allows me to have the makefile in a subdirectory and that it has a different
name?
Thanks
Markus
|
|
|
Re: How to tell eclipse that my makefile is in a subdirectory? [message #64573 is a reply to message #64549] |
Tue, 18 March 2003 01:47   |
Eclipse User |
|
|
|
Originally posted by: skendall.theedge.ca
I am not sure if there is a better way to do this, but I just put a
basic makefile in the project root that calls my makefiles in the subdirs.
all: sources
sources:
$(MAKE) -C src
Hopefull that should work.
Sid
Markus Karg wrote:
> Eclipse CDT assumes the makefile to be named makefile and to be found in the
> root directory of the project. How can I tell adjust eclipse in a way that
> allows me to have the makefile in a subdirectory and that it has a different
> name?
>
> Thanks
> Markus
>
>
|
|
|
Re: How to tell eclipse that my makefile is in a subdirectory? [message #64594 is a reply to message #64549] |
Tue, 18 March 2003 01:59   |
Eclipse User |
|
|
|
Originally posted by: javacard.hotmail.com
hi,
you can use subdir's makefile after you specified the following in
current makefile:
****************************
all install clean:
make -C src/appdir $@
****************************
Markus Karg wrote:
> Eclipse CDT assumes the makefile to be named makefile and to be found in the
> root directory of the project. How can I tell adjust eclipse in a way that
> allows me to have the makefile in a subdirectory and that it has a different
> name?
> Thanks
> Markus
|
|
|
Re: How to tell eclipse that my makefile is in a subdirectory? [message #64685 is a reply to message #64573] |
Tue, 18 March 2003 21:27   |
Eclipse User |
|
|
|
Sounds as an acceptable workaround, but it would really be more cool to have
the possibility in CDT to just type in the path and name of the makefile. Is
there a CDT wishlist somewhere...? :-)
Have Fun
Markus
"Sid Kendall" <skendall@theedge.ca> schrieb im Newsbeitrag
news:b55tpj$o3u$1@rogue.oti.com...
> I am not sure if there is a better way to do this, but I just put a
> basic makefile in the project root that calls my makefiles in the subdirs.
>
> all: sources
>
> sources:
> $(MAKE) -C src
>
> Hopefull that should work.
>
> Sid
>
> Markus Karg wrote:
> > Eclipse CDT assumes the makefile to be named makefile and to be found in
the
> > root directory of the project. How can I tell adjust eclipse in a way
that
> > allows me to have the makefile in a subdirectory and that it has a
different
> > name?
> >
> > Thanks
> > Markus
> >
> >
>
|
|
|
|
Re: How to tell eclipse that my makefile is in a subdirectory? [message #65032 is a reply to message #64594] |
Mon, 24 March 2003 09:13   |
Eclipse User |
|
|
|
Originally posted by: okoltermann.gmx.de
Hi,
I think that in an older Eclipse version (maybe even 1.0) I was able
to select any subdir of the project and select Build in the context
menu to run the makefile in that directory. But memory fades and it's
true that this functionality has gone. Does somebody know anything
about this?
bye,
OK.
|
|
|
|
Re: How to tell eclipse that my makefile is in a subdirectory? [message #66225 is a reply to message #65181] |
Tue, 08 April 2003 09:19  |
Eclipse User |
|
|
|
Originally posted by: okoltermann.gmx.de
"Chad Yates" <cyates@uidaho.edu> writes:
> > I think that in an older Eclipse version (maybe even 1.0) I was able
> > to select any subdir of the project and select Build in the context
> > menu to run the makefile in that directory.
> You can do it in 2.0 also.
How? If I try it now it always tries to run make in the projects root
dir. Could this be QNX specific - I'm using QNX Momentics 6.2.1? (It's
saying Eclipse 2.0.2)
Would be very interested in this, bye,
OK.
|
|
|
Powered by
FUDForum. Page generated in 0.03718 seconds