Hi,
When experimenting with some input variables I found the following strange behaviour:
I have an external module.hier file listing modules to be processed.
I use the following lines in the generic makefile:
MODULES = $(shell cat module.hier | $(GREP) ) #determine list of modules
TOP_MOD = $(word $(words $(MODULES)),$(MODULES) ) #determine last module from list
Could somebody explain to me why in the last two lines there are spaces after the module1 name??
When I do an echo of $(TOP_MOD) I do not see these spaces!
I would expect the last two proj/... lines to be the same.