Paul D. Smith <[EMAIL PROTECTED]> 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

Attachment: pgp00000.pgp
Description: PGP signature

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to