|
Thanks Billy, However: PATTON, BILLY (SBCSI) wrote: My mistake indeed.As one who has recently gone through this These are the changes I would suggest $< to $$< You mean the first $(SHELL) -ec ?get rid of the shell, It already is in a shell If I supress it (and the enclosing ' and '), I receive the error: unexpected EOF while looking for matching `'' I know, but since I override this tens of time I just try to avoid allocating plenty of variables...I would suggest breaking it into small pieces for better readability CPP = $(CXX) -MM $(FINAL_$(1)_CPPFLAGS) $(CXXINCLDIRS) $$< So, I corrected the $< into $$<, but I still get the same error. Actually, I now found the problem, but I do not know how to solve it: 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? Thansk, Xavier -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Xavier Marichal Sent: Friday, June 09, 2006 12:12 PM To: [email protected] Subject: Problem with $* and $$* |
_______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
