[omniORB] doing a subdir 1st in make?

Duncan Grisby duncan@grisby.org
Tue Sep 3 15:17:01 2002


On Tuesday 27 August, Pfeiffer Daniel wrote:

> I have some comfort functions which aren't really CORBA, but make
> using the ORB easier for our needs.  I build these with the omniORB
> build-system (setting TOP and having rules in dir.mk).
>
> I set SUBDIRS and have @$(MakeSubdirs) in export: or in rules lower
> down the dependency chain.  But try as I might, it always compiles
> the current directory first.  Which is wrong, because it needs stuff
> from the subdir.
>
> How do I instruct the build system to descend into subdirs before
> doing the current dir?

Doing subdirs first works fine for me. Just put the rules to make the
subdirs before the rules to build other things.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan@grisby.org     --
   -- http://www.grisby.org --