help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding a Make function


From: Lane Schwartz
Subject: Re: Hiding a Make function
Date: Mon, 30 Apr 2012 15:43:51 -0400

On Mon, Apr 30, 2012 at 3:41 PM, AB <address@hidden> 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


reply via email to

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