[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hiding a Make function
From: |
AB |
Subject: |
Hiding a Make function |
Date: |
Mon, 30 Apr 2012 15:41:58 -0400 |
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.
Thanks
- Hiding a Make function,
AB <=