On Sun, 30 Oct 2005, Ralf Wildenhues wrote: > Hi Tim, > > * Tim Rice wrote on Sun, Oct 30, 2005 at 02:34:18AM CET: > > On Sun, 30 Oct 2005, Ralf Wildenhues wrote: > > > I guess you should be able to use this manually-written rule as a > > > workaround: > > > > > > .cpp.$(OBJEXT): > > > $(CXXCOMPILE) -c $< > > > > Or this patch to automake > > ...... > > --- automake-1.9.6/automake.in.old 2005-06-30 14:17:13.000000000 -0700 > > +++ automake-1.9.6/automake.in 2005-10-29 18:31:51.565961323 -0700 > > @@ -691,7 +691,6 @@ > > 'compile' => '$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) > > $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)', > > 'compiler' => 'CXXCOMPILE', > > 'compile_flag' => '-c', > > - 'output_flag' => '-o', > > 'libtool_tag' => 'CXX', > > 'lder' => 'CXXLD', > > 'ld' => '$(CXX)', > > No. :) > > Above workaround works only because > - we do not use subdir-objects; in fact, we do not use subdirs at all, > - none of the non-libtool objects (i.e., the `.o' ones) use per-target > flags
It seems strange that automake's COMPILE section has no 'output_flag' => '-o', but the CXXCOMPILE does. > > It's really just appropriate for the tagdemo case, not for Automake in > general. > > Cheers, > Ralf > -- Tim Rice Multitalents (707) 887-1469 [EMAIL PROTECTED] _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool