Lars Gullik Bjønnes wrote: > I think the only way to do this with automake is to have the targets > for generating the files and using explict dependencies: > > *.$(OBJEXT): kvsprefs.cpp kvsprefs.h prefs.cpp prefs.h > > kvsprefs.h: kvsprefs.cpp > > kvsprefs.cpp: kviewshell.kcfg kvsprefs.kcfgc > $(CONFIG_COMPILER) $(srcdir)/kviewshell.kcfg > $(srcdir)/kvsprefs.kcfgc > > > prefs.h: prefs.cpp > > prefs.cpp: kdvi.kcfg prefs.kcfgc > $(CONFIG_COMPILER) $(srcdir)/kdvi.kcfg $(srcdir)/prefs.kcfgc
Many, many thanks for the pointers, Lars. I'll try it out and let you know. -- Angus