mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 11:23:43 +08:00
Allow parallel make.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1915 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
5627148a19
commit
4aa4253115
10
Makefile
10
Makefile
@ -17,10 +17,12 @@ else
|
||||
DOCS=
|
||||
endif
|
||||
|
||||
all: dyngen$(EXESUF) $(TOOLS) $(DOCS)
|
||||
for d in $(TARGET_DIRS); do \
|
||||
$(MAKE) -C $$d $@ || exit 1 ; \
|
||||
done
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user