Hi,
Just found a possible issue with Cygwin:
If cygwin is not on the default path, and make is started by specyfing
the path to it (e.g., c:\cygwin64\bin\make), $(MAKE) works in the
top-level makefile, but it does not work in make includes.
To reproduce the issue, use these files:
makefile:
$(info $(shell $(MAKE) --version))
include test.mak
test.mak:
$(info $(shell $(MAKE) --version))
Make sure that Cygwin is not on the default path, e.g. type *path ;* to
erase the default path entirely.
Then start make by specifying the path to it: c:\cygwin64\bin\make
The first $(MAKE) call works, the second one does not.
If make is on the default path, both work.
Best regards,
--
Ferenc Valenta / System Architect / Mentor Graphics Deutschland
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple