On Mon, Apr 30, 2012 at 3:41 PM, AB <[email protected]> wrote:

> Hi:
> I wanted to see if we have a way to hide/error out usage of a make
> function like "wildcard' in a specific Makefile. For example, I would
> like to have the following behavior from test.mk:
>
> %< %< %< %< %< %< %< %< %< %< %< %< %< %< %< %< %< %<
>
> #Error out if wildcard is used in "test.mk"
> LIST := $(wildcard *.txt)
>
> #test.mk includes foo.mk, which can use wildcard
> include foo.mk
>
> %< %< %< %< %< %< %< %< %< %< %< %< %< %< %< %< %< %<
>
> Any comments on how this can be achieved.
>

I doubt this is possible. What is the motivation behind this?

Lane
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to