Forum Discussion
Altera_Forum
Honored Contributor
12 years agoI'm not sure how your Makefile is performing the PATH modification, but,
it works fine for me if and only if you get rid of the quotes and use parens. Something like:
PATH=$(PATH);../xbin
all :
xbin_foo
(and if xbin_foo is a cygwin shell script that just does printenv PATH from within it will correctly show the Cygwin style paths, modified with ../xbin at the tail end ) If I try using curly brace and quotes per your example, I get errors. I have no idea if this is only a problem for you now due to the change in Make version. Also, "echo ${PATH}" from the Makefile will display DOS style; but scripts invoked from the Makefile will correctly have Cygwin-UNIX style paths.