-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all,
As far as I've read $(CURDIR) will return current directory. Now the problem I have are symlinks. I have a build environment for multiple architectures and the object directories are symlinks to real directories. Whenever I change to the symlink, $(CURDIR) returns a real directory name insted of symbolic directory. /mydir/code/directory/_architecture -> /objects/directory/architecture Whenever I do $(MAKE) -C /mydir/code/directory/_architecture -f /code/directory/Makefile then the $(CURDIR) returns /objects/directory/architecture. I know I could store the value before changing into the _architecture directory and subst the whole thing, but I'm really asking about a $(CURDIR) brother that would return a symlink instead of the REAL directory ? It would procduce much cleaner Makefiles etc. Is there such thing already or shall I call it a new feature ? After the build process is done, I'm planning to open it for everyone so there'll be the end of build process nightmares - I hope. If you have any recomendations, feel free to share them with me. NOTE: since I'm not on the list, please CC me when replying. Thanks and let's keep the GNU power going. - -- Best Regards, Leon PGP public key: http://www.kibla.org/~sniper/pubkey.asc -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQA/AwUBPLswilR2kc00eVgVEQJoCwCg4Y0QtOHdVtXOE4P99DebK0+X5OoAoJN4 bJCm3Ba4s5rU20Q5ryWC0AhJ =OBd0 -----END PGP SIGNATURE----- _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
