Importing shell script variables into makefile
Hello there,
this is probably a trivial question, but I searched and searched the Web without success.
I have a Makefile that has to include another one through 'include' directive whose path must be determined from some variables set into an external shell script, i.e.:
shell_script.sh:
export MAKEFILE_PATH=/.../.../
Makefile:
include $(MAKEFILE_PATH)/External.mak
However I did not found a solution to evaluate MAKEFILE_PATH inside the include directive.
Any suggestions?
Many thanks in advance, Matteo
|