Hi all, I just upgraded to 1.6 and I'm trying to get SUFFIXES to work. It does work for libtool objects, but just doesn't seem to want to for normal .o's. This is what I have included in my Makefile.am:
SUFFIXES = .ui .ui.o: %.h $(UIC) -o $*.cpp -impl $*.h $*.ui $(MOC) $*.h -o moc_$*.cpp $(CXXCOMPILE) -c $*.cpp -o base_$*.o $(CXXCOMPILE) -c moc_$*.cpp -o moc_$*.o $(CXXLINK) -r base_$*.o moc_$*.o -o $*.o $(RM) $*.cpp moc_$*.cpp base_$*.o moc_$*.o .ui.lo: %.h $(UIC) -o $*.cpp -impl $*.h $*.ui $(MOC) $*.h -o moc_$*.cpp $(LTCXXCOMPILE) -c $*.cpp -o base_$*.lo $(LTCXXCOMPILE) -c moc_$*.cpp -o moc_$*.lo $(CXXLINK) -r base_$*.lo moc_$*.lo -o $*.lo $(RM) $*.cpp moc_$*.cpp base_$*.lo moc_$*.lo base_$*.o moc_$*.o The SOURCES is dist_iiwusynth_SOURCES = \ iiwusynthgui.cpp iiwusynthgui.h \ iiwusynthguibase.ui nodist_iiwusynth_SOURCES = \ moc_iiwusynthgui.cpp but in the produced Makefile I get: dist_iiwusynth_OBJECTS = iiwusynthgui.$(OBJEXT) nodist_iiwusynth_OBJECTS = moc_iiwusynthgui.$(OBJEXT) A libtool one elsewhere works tho: dist_libmplugins_la_SOURCES = \ mitplugin.cpp mitplugin.h \ ... mrconfigbase.ui \ rhythmbase.ui dist_libmplugins_la_OBJECTS = mitplugin.lo mittranspose.lo \ midiitransform.lo midifilterimpl.lo mrconfig.lo rhythm.lo \ random.lo midifilter.lo mrconfigbase.lo rhythmbase.lo Am I doing something wrong, or is the SUFFIXES support not quite there yet? Cheers, Bob -- Bob Ham: [EMAIL PROTECTED] http://pkl.net/~node/ My music: http://mp3.com/obelisk_uk GNU Hurd: http://hurd.gnu.org/