Revision c05ac895 Makefile
b/Makefile | ||
---|---|---|
38 | 38 |
LIBS+=-lwinmm -lws2_32 -liphlpapi |
39 | 39 |
endif |
40 | 40 |
|
41 |
build-all: $(TOOLS) $(DOCS) roms recurse-all
|
|
41 |
build-all: $(TOOLS) $(DOCS) recurse-all |
|
42 | 42 |
|
43 | 43 |
config-host.mak: configure |
44 | 44 |
ifneq ($(wildcard config-host.mak),) |
... | ... | |
55 | 55 |
$(filter %-softmmu,$(SUBDIR_RULES)): libqemu_common.a |
56 | 56 |
$(filter %-user,$(SUBDIR_RULES)): libqemu_user.a |
57 | 57 |
|
58 |
recurse-all: $(SUBDIR_RULES) |
|
58 |
|
|
59 |
ROMSUBDIR_RULES=$(patsubst %,romsubdir-%, $(ROMS)) |
|
60 |
romsubdir-%: |
|
61 |
$(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C pc-bios/$* V="$(V)" TARGET_DIR="$*/",) |
|
62 |
|
|
63 |
ALL_SUBDIRS=$(TARGET_DIRS) $(patsubst %,pc-bios/%, $(ROMS)) |
|
64 |
|
|
65 |
recurse-all: $(SUBDIR_RULES) $(ROMSUBDIR_RULES) |
|
59 | 66 |
|
60 | 67 |
####################################################################### |
61 | 68 |
# block-obj-y is code used by both qemu system emulation and qemu-img |
... | ... | |
220 | 227 |
rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o block/*.d |
221 | 228 |
rm -f qemu-img-cmds.h |
222 | 229 |
$(MAKE) -C tests clean |
223 |
for d in $(TARGET_DIRS) $(ROMS) libhw32 libhw64; do \
|
|
230 |
for d in $(ALL_SUBDIRS) libhw32 libhw64; do \
|
|
224 | 231 |
$(MAKE) -C $$d $@ || exit 1 ; \ |
225 | 232 |
done |
226 | 233 |
|
... | ... | |
245 | 252 |
BLOBS= |
246 | 253 |
endif |
247 | 254 |
|
248 |
roms: |
|
249 |
for d in $(ROMS); do \ |
|
250 |
$(MAKE) -C $$d || exit 1 ; \ |
|
251 |
done |
|
252 |
|
|
253 | 255 |
install-doc: $(DOCS) |
254 | 256 |
$(INSTALL_DIR) "$(DESTDIR)$(docdir)" |
255 | 257 |
$(INSTALL_DATA) qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)" |
Also available in: Unified diff