this is my project tree structure:
srcdir/Makefile_parent.make
srcdir/src/Makefile_src.make
srcdir/data/Makefile_data.make
srcdir/other/Makefile_other.make
My question is how to pass from my "Makefile_parent.make" a value readable in the child makefiles..I have:
Makefile_parent.make
ParentData = foo
SUBDIRS = src data other
and later, I want to read it from the other makefiles, for example:
Makefile_src.make
GetParentData = $(ParentData)
But is not working is always empty..any ideas?