Problem with make dependencies (subdir.mk files) [message #92285] |
Wed, 21 January 2004 06:14  |
Eclipse User |
|
|
|
Originally posted by: dpdscell.skypro.be
Hi,
I'm using Eclipse 3.0M5 and CDT 2.0M5
I've created a Managed make C Project that contains two subdirectories,
sdir1 and sdir2, each with its own src and inc directories. So the view in
the nagigator is something like:
Test
|
-----sdir1
| |
| ------ inc
| ------ src
|
-----sdir2
| |
| ------ inc
| ------ src
|
----- Release
| |
| ----- dir1
| |
| ------ subdir.dep
| ------- subdir.mk
:
:
I can build the system fine, but the generated "subdir.dep" files are _NOT_
updated, they are always empty. Then ... should I update these files
manually? Should I modify the top makefile or the subdir.mk files? Any help?
Thank you very much
Joaquin Morcate
|
|
|
Re: Problem with make dependencies (subdir.mk files) [message #92485 is a reply to message #92285] |
Thu, 22 January 2004 15:16   |
Eclipse User |
|
|
|
Joaquin,
The managed make system does not support manually overriding the
makefiles (it will just overwrite your changes). I will check it out on
M6, but if I were you, I would close and reopen the project to kick the
indexing. The managed make feature relies on the index to calculate the
dependencies so if the index is out-of-date and the indexer unaware that
it has to run again, then the dep file will be empty.
Sean Evoy
DPDS-Cell wrote:
> Hi,
>
> I'm using Eclipse 3.0M5 and CDT 2.0M5
>
> I've created a Managed make C Project that contains two subdirectories,
> sdir1 and sdir2, each with its own src and inc directories. So the view in
> the nagigator is something like:
>
> Test
> |
> -----sdir1
> | |
> | ------ inc
> | ------ src
> |
> -----sdir2
> | |
> | ------ inc
> | ------ src
> |
> ----- Release
> | |
> | ----- dir1
> | |
> | ------ subdir.dep
> | ------- subdir.mk
> :
> :
> I can build the system fine, but the generated "subdir.dep" files are _NOT_
> updated, they are always empty. Then ... should I update these files
> manually? Should I modify the top makefile or the subdir.mk files? Any help?
> Thank you very much
>
> Joaquin Morcate
>
>
|
|
|
Re: Problem with make dependencies (subdir.mk files) [message #92514 is a reply to message #92485] |
Fri, 23 January 2004 08:16   |
Eclipse User |
|
|
|
Originally posted by: dpdscell.skypro.be
I tried that also but didn't work. I wonder if the problem is that I didn't
create the sources in the IDE but I imported them. At the end I've moved
to an unmanaged project since the managed make is not really flexible,
it'd be nice to have the possibility of adding a custom segment in
the generated makefiles
Any way, thanks a lot for your advice
Joaquin Morcate
"Sean Evoy" <sevoy@ca.ibm.com> wrote in message
news:bupb8r$pmr$1@eclipse.org...
> Joaquin,
> The managed make system does not support manually overriding the
> makefiles (it will just overwrite your changes). I will check it out on
> M6, but if I were you, I would close and reopen the project to kick the
> indexing. The managed make feature relies on the index to calculate the
> dependencies so if the index is out-of-date and the indexer unaware that
> it has to run again, then the dep file will be empty.
>
> Sean Evoy
>
> DPDS-Cell wrote:
> > Hi,
> >
> > I'm using Eclipse 3.0M5 and CDT 2.0M5
> >
> > I've created a Managed make C Project that contains two subdirectories,
> > sdir1 and sdir2, each with its own src and inc directories. So the view
in
> > the nagigator is something like:
> >
> > Test
> > |
> > -----sdir1
> > | |
> > | ------ inc
> > | ------ src
> > |
> > -----sdir2
> > | |
> > | ------ inc
> > | ------ src
> > |
> > ----- Release
> > | |
> > | ----- dir1
> > | |
> > | ------ subdir.dep
> > | ------- subdir.mk
> > :
> > :
> > I can build the system fine, but the generated "subdir.dep" files are
_NOT_
> > updated, they are always empty. Then ... should I update these files
> > manually? Should I modify the top makefile or the subdir.mk files? Any
help?
> > Thank you very much
> >
> > Joaquin Morcate
> >
> >
|
|
|
Re: Problem with make dependencies (subdir.mk files) [message #92529 is a reply to message #92514] |
Fri, 23 January 2004 10:28  |
Eclipse User |
|
|
|
Hmm,
I still should be able to find the resources in the project, even if
they are imported. Your point about setting aside sections to add
user-supplied make intructions is well taken and is something we are
working towards.
Sean
DPDS-Cell wrote:
> I tried that also but didn't work. I wonder if the problem is that I didn't
> create the sources in the IDE but I imported them. At the end I've moved
> to an unmanaged project since the managed make is not really flexible,
> it'd be nice to have the possibility of adding a custom segment in
> the generated makefiles
> Any way, thanks a lot for your advice
>
> Joaquin Morcate
>
> "Sean Evoy" <sevoy@ca.ibm.com> wrote in message
> news:bupb8r$pmr$1@eclipse.org...
>
>>Joaquin,
>>The managed make system does not support manually overriding the
>>makefiles (it will just overwrite your changes). I will check it out on
>>M6, but if I were you, I would close and reopen the project to kick the
>>indexing. The managed make feature relies on the index to calculate the
>>dependencies so if the index is out-of-date and the indexer unaware that
>>it has to run again, then the dep file will be empty.
>>
>>Sean Evoy
>>
>>DPDS-Cell wrote:
>>
>>>Hi,
>>>
>>>I'm using Eclipse 3.0M5 and CDT 2.0M5
>>>
>>>I've created a Managed make C Project that contains two subdirectories,
>>>sdir1 and sdir2, each with its own src and inc directories. So the view
>
> in
>
>>>the nagigator is something like:
>>>
>>>Test
>>>|
>>>-----sdir1
>>>| |
>>>| ------ inc
>>>| ------ src
>>>|
>>>-----sdir2
>>>| |
>>>| ------ inc
>>>| ------ src
>>>|
>>>----- Release
>>>| |
>>>| ----- dir1
>>>| |
>>>| ------ subdir.dep
>>>| ------- subdir.mk
>>>:
>>>:
>>>I can build the system fine, but the generated "subdir.dep" files are
>
> _NOT_
>
>>>updated, they are always empty. Then ... should I update these files
>>>manually? Should I modify the top makefile or the subdir.mk files? Any
>
> help?
>
>>>Thank you very much
>>>
>>>Joaquin Morcate
>>>
>>>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.17767 seconds