|
Home > Archive > Unix Programming > October 2004 > Some questions about makefiles/autoconf.......
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Some questions about makefiles/autoconf.......
|
|
| LeTubs 2004-10-22, 8:47 pm |
| Hi
I'm trying to do the following is to develop
a makefile in the root directory of a CVS
component, which then actives starts the
make process in individual directories [ see
below]. I've done some looking into this
and think that autoconf/configure can
solve my problem?
Now is my assumption correct ? or am I
missing something else ? I have a good/basic
understanding of make and comfortable writing
makefiles, but have no idea how I'm going to
approach this so what I'm after is some
pointers or examples to get me started.
Many Thanks
David
Consider the following
project
Makefile1
+directory1
Makefile
+directory2
Makefile
+direcoty3
Makefile
running Makefile1 will cause the making of the
lower directories...
| |
| Gianni Mariani 2004-10-23, 2:47 am |
| LeTubs wrote:
> Hi
>
> I'm trying to do the following is to develop
> a makefile in the root directory of a CVS
> component, which then actives starts the
> make process in individual directories [ see
> below]. I've done some looking into this
> and think that autoconf/configure can
> solve my problem?
MakeXS (http://www.makexs.com) will do this automagically with GNU make
as well as a dozen other solutions.
> Now is my assumption correct ? or am I
> missing something else ? I have a good/basic
> understanding of make and comfortable writing
> makefiles, but have no idea how I'm going to
> approach this so what I'm after is some
> pointers or examples to get me started.
>
> Many Thanks
> David
>
> Consider the following
>
> project
> Makefile1
> +directory1
> Makefile
> +directory2
> Makefile
> +direcoty3
> Makefile
>
>
> running Makefile1 will cause the making of the
> lower directories...
One of the issues you will find is that the order of building the lower
level directories needs to be controlled. Also, you need to have the
same "standard targets" (all, clean etc).
|
|
|
|
|