Follow-up Comment #10, bug #9062 (project make): GNU make does not and has never supported a built-in variable $(PWD).
Of course, GNU make does now and has always (just like every other make) imported environment variables exported from the invoking process into GNU make variables, and some shells do set and maintain a $PWD environment variable. So if your shell is one of those, then you would see a $(PWD) variable in make as well; but this is nothing GNU make is creating. It's 100% dependent on the feature set of the shell invoking GNU make (never a good idea for a portable make environment!!) If you use "make -p" so GNU make prints its database, it will tell you exactly where every variable defined came from. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9062> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make