define and conditionals directives

2014-05-23 Thread Yann Droneaud
the documentation, just be sure this behavior won't be lost in future make release: it's an important behavor for being able to use conditionals directives with $(eval ) function. Regards. -- Yann Droneaud OPTEYA ___ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/mailman/listinfo/help-make

$(info ...) in variable, with expansion in recipes

2014-07-04 Thread Yann Droneaud
be very bad if other functions having side effect would be called twice. See for example: $ ./make -f ./info.mk V=1 RECIPE=': $(shell mktemp info.X)' 1 3 : : info.vB12nZmM7 : As you can see, hopefully, $(shell ...) is expanded once. Regards. -- Yann Droneaud OPTEY

Re: $(info ...) in variable, with expansion in recipes

2014-07-04 Thread Yann Droneaud
Le vendredi 04 juillet 2014 à 18:24 +0200, Yann Droneaud a écrit : > Hi, > > I'm a bit puzzled regarding the behavor of make: I don't understand why > a make function is executed twice when stored in a variable which is > expanded as part of a recipe. > > See

Re: $(info ...) in variable, with expansion in recipes

2014-07-04 Thread Yann Droneaud
Le vendredi 04 juillet 2014 à 19:01 +0200, Yann Droneaud a écrit : > Le vendredi 04 juillet 2014 à 18:24 +0200, Yann Droneaud a écrit : > > Hi, > > > > I'm a bit puzzled regarding the behavor of make: I don't understand why > > a make function is executed twi

Re: $(info ...) in variable, with expansion in recipes

2014-07-08 Thread Yann Droneaud
ECIPE=': $(info 2)' 1 2 3 $ RECIPE=': $(info 2)' ./make -f ./info.mk 1 2 3 Regards. -- Yann Droneaud OPTEYA ___ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/mailman/listinfo/help-make

Re: $(info ...) in variable, with expansion in recipes

2014-07-15 Thread Yann Droneaud
Hi, Le mardi 08 juillet 2014 à 09:27 -0700, Philip Guenther a écrit : > On Tue, Jul 8, 2014 at 5:14 AM, Yann Droneaud > wrote: > Le vendredi 04 juillet 2014 à 12:36 -0700, Philip Guenther a > écrit : > ... > > This can be confirmed by tell make tha

Re: Re[2]: How to order make do the parallel job?

2015-12-22 Thread Yann Droneaud
ing "make build_release" with the "-j10" argument so it > should not be here.  This should just be: > > @cd $(RELEASE_TARGET) && $(MAKE) > I think -C can be used too ? @$(MAKE) -C $(RELEASE_TARGET) Regards. --  Yann Droneaud OPTEYA ___ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/mailman/listinfo/help-make

Re: How to switch behaviour according to glibc version?

2016-04-06 Thread Yann Droneaud
inks to > my private copy of glibc 2.22: > How can "make" could build a C++ application that depends on glibc 2.22 when your system only have glibc 2.19 ? It feels like you're doing something complicated which could be avoided. Regards. --  Yann Droneaud OPTEYA ___

Re: can't always get make to auto create build directory

2016-06-29 Thread Yann Droneaud
se use an email client (MUA) that doesn't munge the content of your mail: you should not expect people to go read your complete message through a web browser. Regards. --  Yann Droneaud OPTEYA ___ Help-make mailing list Help-make@gnu.org https://l

Re: GNU make 4.1 does not load libpthread

2016-09-06 Thread Yann Droneaud
E)gcc $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) > Event.o : Event.c Otdr.h prototypes.h protocol.h DspFpgaReg.h > $(CROSS_COMPILE)gcc -c $(CFLAGS)   $^ > . > > I don't know how to solve it, could you help me? > Thanks very much. > > Regards. --  Yann Droneaud OPT