Re: [A-A-P-develop] BDIR, was: More than one matching rule?
Brought to you by:
vimboss
From: <go...@fl...> - 2003-05-02 18:56:37
|
On Fri, 2 May 2003, Bram Moolenaar wrote: > > I'm using a version that creates builddirs in every > subdirectory > > (0.133; I don't think I patched it). > > If that is really so then you must either have patched it or > somehow > overrule the default value of $BDIR. Or do you mean something > else > perhaps? I checked the source once again -- no, it's not patched. But each subdirectory has a main.aap that looks like this: (in src/a/main.aap) SRCS = a.c OBJS = `map (os.path.abspath, src2obj (SRCS).split())` _parent.OBJS += $OBJS As the result, every directory has its own build... subdir where objects live. I forgot that I have this special setup, so my patch probably won't work in the general case. > Yeah, the "../" things are not handled correctly. It's > actually the top > item in the Aap todo list. I did change something for this > but I don't > think it's completely fixed yet. > > Are you invoking "lib/main.aap" from a recipe one level > higher? And is Yes. > there a dependency for "a.c" mentioned elsewhere or do you > rely on the > "a.o" to be created from it automatically? I rely on implicit rules. > Try using Aap version 0.140. It might work a bit better. At > least it > removes "build-..." where it's used. OK, I'll try it. |