Function not returning result

2016-07-28 Thread Lee Shallis
This is my function as it is > define STAT_MODIFIED > $(eval $(info $($(0)_SYS)-$(0),$(1))) > $(eval $(0)_SH=$(call $($(0)_SYS)_$(0),$(1))) > $(eval $(info $(0)_SH=$($(0)_SH))) > $(eval $(0)_FAIL=0) > $(eval $(info $(0)_FAIL=$($(0)_FAIL))) > $(eval $(0)_VAL=$(if $(wildcard $(1)),SH,FAIL)) > $(eval

Re: Function not returning result

2016-07-28 Thread Philip Guenther
On Thu, Jul 28, 2016 at 3:44 AM, Lee Shallis wrote: > This is my function as it is > >> define STAT_MODIFIED >> $(eval $(info $($(0)_SYS)-$(0),$(1))) The expansion of $(info ...) is the empty string, so the $(eval) is doing nothing there expect make this harder to read and understand. Ditto for t