%% Ropars Katell-R59913 <[EMAIL PROTECTED]> writes: rk> 1. I would like to define a variable in a makefile that can either rk> be read as lower or upper case.
Not really sure what you mean by "read as lower or upper case". You mean you can refer to the name of the variable as either upper or lower case? Or you want to lowercase the value of the variable? Or... ? There is no facility in GNU make to change the case of a value. You would have to invoke a command through $(shell ...) to do that. rk> I tried: rk> NAME_1 = DUMMY rk> NAME_1_LOWER_CASE = $(subst %,"%",$(NAME_1)) rk> I was expecting to read "dummy" but it is not the case. I can see absolutely NO justification for the result you expected. Can you explain why you thought you would get it? rk> 2. I am using recursive make rules and if an error is encountered rk> I would like to give up the current rule and all the other rk> rules. It is written in the manual : "If there is an error (the rk> exit status is nonzero), make gives up on the current rule, and rk> perhaps on all rules." How could I force all the rules to stop? Make will give up on all rules, unless you use the -k (keep going) option when invoking it. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
