Use CURDIR instead of PWD when referncing the current working directory. The
former is managed by make itself, while the latter comes from the shell and
does not reflect the current directory in "make -C some/other/directory"
scenarios.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Set several targets as .PHONY
Use CURDIR instead of PWD when referncing the current working directory. The former is managed by make itself, while the latter comes from the shell and does not reflect the current directory in "make -C some/other/directory" scenarios.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.