[Omake] Equivalent of the Makefile's wildcard

Chantal KELLER chantal.keller at wanadoo.fr
Thu Jan 8 14:48:39 PST 2009


Thanks, that is what I need.
Chantal.



Aleksey Nogin a écrit :
> On 08.01.2009 09:34, Chantal KELLER wrote:
> 
>>     Hello everybody,
>>
>>   I cannot find how to transpose the following Makefile code (see
>> above), or any other code using the keyword "wildcard", into OMakefile code.
>>
>>   Thanks for your attention.
>>
>>
>>
>>
>> SRC=$(wildcard *.dot)
>> OBJ=$(SRC:.dot=.png)
>>
>> png: $(OBJ)
>>
>> %.png: %.dot
>>         dot -Tpng $< -o $@
> 
> Chantal,
> 
> You can use the glob function - see
> http://omake.metaprl.org/manual/omake-system.html#function:glob
> 
> Aleksey
> 
> _______________________________________________
> Omake mailing list
> Omake at metaprl.org
> https://lists.metaprl.org/mailman/listinfo/omake
> 
> 

-- 
Chantal KELLER
chantal.keller at wanadoo.fr



More information about the Omake mailing list