[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: Build System links/ recommendations

From: Robin Farine
Subject: Re: [Gnu-arch-users] Re: Build System links/ recommendations
Date: Sun, 5 Sep 2004 02:12:38 +0200
User-agent: KMail/1.6.2

On Sunday 05 September 2004 00.15, Andrew Suffield wrote:
> On Sat, Sep 04, 2004 at 11:53:47PM +0200, Jan Hudec wrote:

> > There would be in this case. Guess which version of make is in
> > current stable debian... Right: 3.79.1-14.
> >
> > (Note: The project I was talking about was started in 2001 --
> > the feature did not exist back then.)

At least glibc is using a working recursive make-based build system 
and this since long ago. Or am I comparing oranges with apples?

> Other approaches exist. This is the one I use. I'm not very
> familiar with the others; I'd have to spend a couple hours
> working it out, and I really don't have the time.

This looks too simple so I must have missed something, but it looks 
like it is equivalent.

* toplevel Makefile:

myprog: subdir/mylib
        touch $@

subdir/mylib: subdir-libs

.PHONY: subdir-libs
        $(MAKE) -C subdir libs

* subdir Makefile:

.PHONY: libs
libs: mylib

        touch $@

reply via email to

[Prev in Thread] Current Thread [Next in Thread]