[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: |
Jan Hudec |
Subject: |
Re: [Gnu-arch-users] Re: Build System links/ recommendations |
Date: |
Sun, 5 Sep 2004 09:23:24 +0200 |
User-agent: |
Mutt/1.5.6+20040818i |
On Sun, Sep 05, 2004 at 02:12:38 +0200, Robin Farine wrote:
> On Sunday 05 September 2004 00.15, Andrew Suffield wrote:
> > 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
> subdir-libs:
> $(MAKE) -C subdir libs
>
>
> * subdir Makefile:
>
> .PHONY: libs
> libs: mylib
>
> mylib:
> touch $@
So try it ;-). You'll find out it isn't. It checks the timestamp on
subdir/mylib too early and even if the subdir makefile does something,
myprog is not relinked.
-------------------------------------------------------------------------------
Jan 'Bulb' Hudec
<address@hidden>
signature.asc
Description: Digital signature
- [Gnu-arch-users] Re: Build System links/ recommendations, (continued)
- [Gnu-arch-users] Re: Build System links/ recommendations, Stefan Monnier, 2004/09/03
- Re: [Gnu-arch-users] Re: Build System links/ recommendations, Magnus Therning, 2004/09/03
- [Gnu-arch-users] Re: Build System links/ recommendations, Stefan Monnier, 2004/09/03
- Re: [Gnu-arch-users] Re: Build System links/ recommendations, Magnus Therning, 2004/09/04
- Re: [Gnu-arch-users] Re: Build System links/ recommendations, Andrew Suffield, 2004/09/04
- Re: [Gnu-arch-users] Re: Build System links/ recommendations, Jan Hudec, 2004/09/04
- Re: [Gnu-arch-users] Re: Build System links/ recommendations, Andrew Suffield, 2004/09/04
- Re: [Gnu-arch-users] Re: Build System links/ recommendations, Jan Hudec, 2004/09/04
- Re: [Gnu-arch-users] Re: Build System links/ recommendations, Andrew Suffield, 2004/09/04
- Re: [Gnu-arch-users] Re: Build System links/ recommendations, Robin Farine, 2004/09/04
- Re: [Gnu-arch-users] Re: Build System links/ recommendations,
Jan Hudec <=
- Re: [Gnu-arch-users] Re: Build System links/ recommendations, Robin Farine, 2004/09/05
- Re: [Gnu-arch-users] Re: Build System links/ recommendations, Jan Hudec, 2004/09/05
- Re: [Gnu-arch-users] recursive make [was: Build System links/ recommendations], Robin Farine, 2004/09/05
- Re: [Gnu-arch-users] Re: Build System links/ recommendations, Mr Zenaan Harkness, 2004/09/05