Peng Yu wrote on 04 June 2008 17:21:

> Actually, I'm using g++'s -MM option to automatically generate the
> rules. The above technique is not support by gcc. And it seems not
> convenient to be handled by gcc. I'm wondering if gmake (or in
> general, make) can make some changes on the way these special
> characters are handled. So that I can use g++'s -MM options for
> arbitrary filename.

  You'll probably find it easiest to pipe the -MM output through 'sed' with
a script that replaces problematic characters with make variables for you.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



_______________________________________________
Help-make mailing list
Help-make@gnu.org
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to