Move all: target first.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1918 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/Makefile b/Makefile
index 3a69a04..e6cff9a 100644
--- a/Makefile
+++ b/Makefile
@@ -17,13 +17,13 @@
DOCS=
endif
+all: $(TOOLS) $(DOCS) recurse-all
+
subdir-%: dyngen$(EXESUF)
$(MAKE) -C $(subst subdir-,,$@) all
recurse-all: $(patsubst %,subdir-%, $(TARGET_DIRS))
-all: $(TOOLS) $(DOCS) recurse-all
-
qemu-img$(EXESUF): qemu-img.c block.c block-cow.c block-qcow.c aes.c block-vmdk.c block-cloop.c block-dmg.c block-bochs.c block-vpc.c block-vvfat.c
$(CC) -DQEMU_TOOL $(CFLAGS) $(LDFLAGS) $(DEFINES) -o $@ $^ -lz $(LIBS)