[omniORB] omkdepend target directory / omnirob 3.0.4

Clement.VISSEAUX@sercel.fr Clement.VISSEAUX@sercel.fr
Wed Nov 27 14:07:00 2002


Hello

when working with multiple target, is there a way to tell omkdepend to create the ".d" depency file in a target directory instead of
the
current source directory.

I managed to do so with the library and object files but not with dependency files .
any clue .
hint : the generation of the .d file  is in the mk/afterdir.mk

%.d: %.cc $(GENERATED_CXX_HDRS)
     @echo "$<" >> cxxdepend.tmp


      if [ -f cxxdepend.tmp ]; then \
        echo $(CXXMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cxxdepend.tmp`; \
        $(CXXMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cxxdepend.tmp`; \
      ....

thanks for any clue