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's really just appropriate for the tagdemo case, not for Automake in general. Cheers, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool