On 10/06/06, Xavier Marichal <[EMAIL PROTECTED]> wrote:
The command typicalyl results in: /bin/sh -ec 'g++ -MM -DWINDOWS -Ic:/mingw/local/include/gtkmm-2.4 -Ic:/mingw/local/lib/gtkmm-2.4/include -Ic:/mingw/local/include/glibmm-2.4 -Ic:/mingw/local/lib/glibmm-2.4/include -Ic:/mingw/local/include/gdkmm-2.4 -Ic:/mingw/local/lib/gdkmm-2.4/include -Ic:/mingw/local/include/pangomm-1.4 -Ic:/mingw/local/include/atkmm-1.6 -Ic:/mingw/local/include/gtk-2.0 -Ic:/mingw/local/include/sigc++-2.0 -Ic:/mingw/local/lib/sigc++-2.0/include -Ic:/mingw/local/include/glib-2.0 -Ic:/mingw/local/lib/glib-2.0/include -Ic:/mingw/local/lib/gtk-2.0/include -Ic:/mingw/local/include/pango-1.0 -Ic:/mingw/local/include/atk-1.0 -DALTER_MMX -DALTER_SSE2 -D_REENTRANT -D_GNU_SOURCE -mthreads -mms-bitfields -DALTER_MODULE=common -Isrc/ -Isrc/common/ -I/usr/local/include/1394camera -I/usr/local/include/newmat -I/usr/local/include src/common/Spline.cpp | sed '\''s/\(Spline\)\.o[ :]*/objects\/common_\1.o objects/common_Spline.d : /g'\'' > objects/common_Spline.d' while this red part should be: objects\/common_Spline.d So, it seems that my command part that reads $(subst /,\/,$$@) has no effect and merely outputs $$@ withotu replacing the slash. Any idea ? Shall I use a sed command here as well?
It's probably simpler to change your sed separator - you don't have to use / sed 's|foo|bar|' does the same job as sed 's/foo/bar/' which does the same job as sed 'safooab\ara' _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
