[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/ baz/
> 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).


Attachment: pgpieUS10sR3f.pgp
Description: PGP signature

reply via email to

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