gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] recursive make [was: Build System links/ recommenda


From: Robin Farine
Subject: Re: [Gnu-arch-users] recursive make [was: Build System links/ recommendations]
Date: Sun, 5 Sep 2004 17:52:06 +0200
User-agent: KMail/1.6.2

On Sunday 05 September 2004 16.17, Jan Hudec wrote:

> No, it does not seem to work either. The binary is always
> relinked, though the prerequisites did not change. Either the
> dependency has non-empty command and the binary is always
> rebuilt, or it has an empty command and the dependencies are
> checked in wrong order.

Ah. It seems to work here (GNU Make 3.80):

$ rm -f myprog subdir-libs.dummy subdir/mylib subdir/ronron
$ make myprog
make -C subdir libs
make[1]: Entering directory `/space/tmp/make-recur/subdir'
touch ronron
touch mylib
make[1]: Leaving directory `/space/tmp/make-recur/subdir'
touch myprog
$ make myprog
make -C subdir libs
make[1]: Entering directory `/space/tmp/make-recur/subdir'
make[1]: Nothing to be done for `libs'.
make[1]: Leaving directory `/space/tmp/make-recur/subdir'
$ touch subdir/ronron
$ make myprog
make -C subdir libs
make[1]: Entering directory `/space/tmp/make-recur/subdir'
touch mylib
make[1]: Leaving directory `/space/tmp/make-recur/subdir'
touch myprog




reply via email to

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