When using this Makefile
export PATH:=la:$(PATH)
$(info $(shell echo $$PATH))
all:
@echo $$PATH
The output is
$ make
/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
la:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/
On Thu, 2015-12-17 at 09:17 +, Cristian Morales Vega wrote:
> When using this Makefile
>
>
> export PATH:=la:$(PATH)
>
> $(info $(shell echo $$PATH))
>
> all:
> @echo $$PATH
>
> The PATH is not being exported to the shell from $(shell), but it is
> to the shell
Why not say
$(shell PATH:=$(PATH) ; pkgconfig ..,)
?
Regards, Tim
On 17 Dec 2015 4:46 a.m., "Cristian Morales Vega"
wrote:
> When using this Makefile
>
>
> export PATH:=la:$(PATH)
>
> $(info $(shell echo $$PATH))
>
> all:
> @echo $$PATH
>
>
> The output is
> $ ma
On 17 December 2015 at 12:52, Paul Smith wrote:
> On Thu, 2015-12-17 at 09:17 +, Cristian Morales Vega wrote:
>> When using this Makefile
>>
>>
>> export PATH:=la:$(PATH)
>>
>> $(info $(shell echo $$PATH))
>>
>> all:
>> @echo $$PATH
>>
>
>> The PATH is not being e
There is any way to say: "stop reading here, suppose this Makefile has
no more contents, end the read-in phase and start the target-update
phase"?
___
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make
On Thu, 2015-12-17 at 15:34 +, Cristian Morales Vega wrote:
> There is any way to say: "stop reading here, suppose this Makefile
> has no more contents, end the read-in phase and start the target
> -update phase"?
No, that's not possible.
___
Help-
On Thu, 2015-12-17 at 12:41 -0500, Paul Smith wrote:
> On Thu, 2015-12-17 at 15:34 +, Cristian Morales Vega wrote:
> > There is any way to say: "stop reading here, suppose this Makefile
> > has no more contents, end the read-in phase and start the target
> > -update phase"?
>
> No, that's not
On 17 December 2015 at 17:45, Paul Smith wrote:
> On Thu, 2015-12-17 at 12:41 -0500, Paul Smith wrote:
>> On Thu, 2015-12-17 at 15:34 +, Cristian Morales Vega wrote:
>> > There is any way to say: "stop reading here, suppose this Makefile
>> > has no more contents, end the read-in phase and sta