[Top][All Lists]

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

Re: Simulating $(MAKE) FOO=bar without forking make?

From: Dagobert Michelsen
Subject: Re: Simulating $(MAKE) FOO=bar without forking make?
Date: Wed, 10 May 2017 15:51:18 +0200

Hi Sebastian,

Am 10.05.2017 um 15:46 schrieb Sébastien Hinderer <address@hidden>:
> One of the things I do not really know how to deal with is that the main
> Makefile sometimes does things like
> ratget1:
>         $(MAKE) -C dir FOO=bar
> ...
> target2:
>        $(MAKE) -C dir FOO=baz

Does this solve your issue?

ratget1: FOO=bar
ratget1: dirrule

target2: FOO=baz
target2: dirrule

        (stuff from Makefile in dir)

Best regards

  — Dago

"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment: signature.asc
Description: Message signed with OpenPGP

reply via email to

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