Re: Using named variables in canned recipes

2017-03-12 Thread LeJacq, Jean Pierre
Tony Theodore wrote: > Looking at an example of a canned recipe in: > > https://www.gnu.org/software/make/manual/make.html#Eval-Function > > define PROGRAM_template = > $(1): $$($(1)_OBJS) $$($(1)_LIBS:%=-l%) > ALL_OBJS += $$($(1)_OBJS) > endef > > $(foreach prog,$(PROGR

determining length of string

2007-04-08 Thread LeJacq, Jean Pierre
Any suggestions on how how to determine the length of a string with just GNU Make functions? If that is possible, is there a way of trimming a string to a desired length at either end? -- JP ___ Help-make mailing list Help-make@gnu.org http://lists