Il 09/09/2013 03:34, Fam Zheng ha scritto: > On Fri, 09/06 20:19, Lluís Vilanova wrote: >> Fam Zheng writes: >> [...] >>> Because $(obj) here is './block', instead of '../block'. This doesn't >>> hurt compiling because we basically build all .o from top Makefile, >>> before entering Makefile.target, but it will affact arriving per-object >>> libs support. >> >> I'm curious. What's the reason to not use recursive make in QEMU? >> > I don't know the answer, Paolo?
It predates my involvement by a long time, so I don't know. But my guess is that whenever directories are not present in the build tree (e.g. i386-softmmu/hw) we have to create the Makefile in the configure script. Thus a heavily declarative Makefile style works better. Paolo