[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: implicit rules
From: |
Boris Kolpackov |
Subject: |
Re: implicit rules |
Date: |
Mon, 26 Apr 2004 15:16:23 -0500 |
User-agent: |
Mutt/1.5.4i |
Paul D. Smith <address@hidden> writes:
> You can also do it with eval, without requiring a patch, if you can
> somehow find a list of the subdirectories you want to handle.
>
> For example, if you have a list of the target makefiles you want to
> build:
>
> MKFILES = foo/bar.mk bar/baz.mk baz/boz.mk
>
> then you can get a list of directories with $(dir ) etc., then you can
> write a loop with eval to declare the proper implicit rules (or even use
> explicit ones if you like).
It's all true including that you need to know that list a priori. The
beauty of implicit rules is that you don't need such a list and they
play nice with other features (like vpath).
-boris
pgpieUS10sR3f.pgp
Description: PGP signature
- Re: implicit rules, (continued)
- Re: implicit rules, Boris Kolpackov, 2004/04/26
- Re: implicit rules, Noel Yap, 2004/04/26
- Re: implicit rules, Boris Kolpackov, 2004/04/26
- Re: implicit rules, Paul D. Smith, 2004/04/26
- Re: implicit rules, Boris Kolpackov, 2004/04/26
- Re: implicit rules, Paul D. Smith, 2004/04/26
- Re: implicit rules,
Boris Kolpackov <=
- Re: implicit rules, Noel Yap, 2004/04/26
- Re: implicit rules, Noel Yap, 2004/04/26