help-make
[Top][All Lists]
Advanced

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

Re: Help copying & renaming filename inside makefile.


From: Greg Chicares
Subject: Re: Help copying & renaming filename inside makefile.
Date: Tue, 11 Jan 2011 15:16:55 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

On 2011-01-11 14:51Z, givemecode wrote:
> 
>> HEADER += $(patsubst %.h,%.hh,$(widlcard $(INCLUDE_DIR)/%.h))
>                                    ^^                    ^
> I tried putting that line in my makefile and it doesn't seem to create a
> list that I need (probably operator error).

The third and fourth letters of 'wildcard' were accidentally swapped,
and its argument should have '*' instead of '%':

  HEADER += $(patsubst %.h,%.hh,$(wildcard $(INCLUDE_DIR)/*.h))



reply via email to

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