Revision 1ad2134f Makefile
b/Makefile | ||
---|---|---|
1 | 1 |
# Makefile for QEMU. |
2 | 2 |
|
3 | 3 |
ifneq ($(wildcard config-host.mak),) |
4 |
# Put the all: rule here so that config-host.mak can contain dependencies. |
|
5 |
all: build-all |
|
4 | 6 |
include config-host.mak |
5 | 7 |
include $(SRC_PATH)/rules.mak |
6 | 8 |
else |
... | ... | |
41 | 43 |
LIBS+=-lwinmm -lws2_32 -liphlpapi |
42 | 44 |
endif |
43 | 45 |
|
44 |
all: $(TOOLS) $(DOCS) recurse-all |
|
46 |
build-all: $(TOOLS) $(DOCS) recurse-all
|
|
45 | 47 |
|
46 | 48 |
config-host.mak: configure |
47 | 49 |
ifneq ($(wildcard config-host.mak),) |
... | ... | |
237 | 239 |
rm -f *.o *.d *.a $(TOOLS) TAGS cscope.* *.pod *~ */*~ |
238 | 240 |
rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o block/*.d |
239 | 241 |
$(MAKE) -C tests clean |
240 |
for d in $(TARGET_DIRS); do \ |
|
242 |
for d in $(TARGET_DIRS) libhw32 libhw64; do \
|
|
241 | 243 |
$(MAKE) -C $$d $@ || exit 1 ; \ |
242 | 244 |
done |
243 | 245 |
|
244 | 246 |
distclean: clean |
245 | 247 |
rm -f config-host.mak config-host.h $(DOCS) qemu-options.texi |
246 | 248 |
rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr} |
247 |
for d in $(TARGET_DIRS); do \ |
|
249 |
for d in $(TARGET_DIRS) libhw32 libhw64; do \
|
|
248 | 250 |
rm -rf $$d || exit 1 ; \ |
249 | 251 |
done |
250 | 252 |
|
Also available in: Unified diff