Re: Gbuild explanation

2013-05-18 Thread David Tardon
Hi, On Fri, May 17, 2013 at 03:08:20AM +0200, Mat M wrote: > >$(dir $(call gb_AutoInstallLibs_get_target,%))%/.dir : > > $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) > > Then what is the purpose of the % in the $(call We need to pass something that $(dir) can strip as file part. % is just

Re: Gbuild explanation

2013-05-16 Thread Mat M
Hello, Le Thu, 16 May 2013 06:07:32 +0200, David Tardon a écrit: Hi, On Thu, May 16, 2013 at 01:22:10AM +0200, Mat M wrote: Hello I have a GNU make question, actually: How this should be read ? $(dir $(call gb_AutoInstallLibs_get_target,%)).dir : $(if $(wildcard $(dir $@)),,mkdi

Re: Gbuild explanation

2013-05-15 Thread David Tardon
Hi, On Thu, May 16, 2013 at 01:22:10AM +0200, Mat M wrote: > Hello > > I have a GNU make question, actually: > > How this should be read ? > $(dir $(call gb_AutoInstallLibs_get_target,%)).dir : > $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) We use rules to automatically create director