help-make
[Top][All Lists]
Advanced

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

Re: wildcard for directory?


From: Peng Yu
Subject: Re: wildcard for directory?
Date: Wed, 9 Jun 2010 19:21:30 -0500

On Wed, Jun 9, 2010 at 6:57 PM, Paul Smith <address@hidden> wrote:
> On Wed, 2010-06-09 at 17:25 -0500, Peng Yu wrote:
>> No. It doesn't work.
>> $ make
>> echo ./ *.txt/
>> ./ x.txt/
>> $ cat Makefile
>> .PHONY: all
>>
>> all:
>>         echo $(dir (wildcard *.txt/.))
>
> If someone tells you something works and it doesn't work for you, please
> double- and triple-check your work before responding.  In programming
> every single character counts.
>
> Here, you've forgotten the "$" before the wildcard function.

Sorry. wildcard still has syntax highlight even when $ is not in front
it in my editor. Therefore, I overlooked it. But I'll not overlook it
anymore.

-- 
Regards,
Peng



reply via email to

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