[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: how to write rules for files with special characters?
From: |
Dave Korn |
Subject: |
RE: how to write rules for files with special characters? |
Date: |
Wed, 4 Jun 2008 18:26:51 +0100 |
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....