Comment Comment by 0xbadcafebee > POSIX make has no good way to get PWDIt can.... get it from the environment.... like every application run by every operating system does. PWD is only ever set by a shell. It exports it as an environment variable. Programs can read environment variables passed to them. parent 0xbadcafebee 3 years ago
It can.... get it from the environment.... like every application run by every operating system does. PWD is only ever set by a shell. It exports it as an environment variable. Programs can read environment variables passed to them.