-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Peng Yu wrote: | For a file named as abc+=.cc, how do I refer to such name in Makefile? | I tried to abc\+\=.cc, but it seems not working.
GNU Make's escaping rules won't help you there (see http://www.cmcrossroads.com/content/view/8442/120/) but you can just define a variable to contain the equals sign and use it to hide the = from the parser. e.g. e := = abc+$e.cc: ; @echo Making $@ Or if you really want to do something wild you can define a variable called = which expands to = e := = $e := = abc+$=def: ; @echo Making $@ John. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIRoGbLphrp73n/hARAizcAKDZMfN0R+rGcGMwjhKxPPm8kNlMbACcDfhY 8oUCusTKfL35mcwjvDMWaTQ= =3DAd -----END PGP SIGNATURE----- _______________________________________________ Help-make mailing list Help-make@gnu.org http://lists.gnu.org/mailman/listinfo/help-make