aboutsummaryrefslogtreecommitdiff
path: root/Makefile.dis
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-03-21 08:28:47 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-03-21 08:28:47 +0000
commit4d9045339a69ff11764476529b9121e0f219c2f9 (patch)
treee92f51adc1205ef711b786ca207c777000310d65 /Makefile.dis
parent9e97d8e9418ddd8f26a2aa4dbb80853d3e8af392 (diff)
downloadqemu-4d9045339a69ff11764476529b9121e0f219c2f9.zip
qemu-4d9045339a69ff11764476529b9121e0f219c2f9.tar.gz
qemu-4d9045339a69ff11764476529b9121e0f219c2f9.tar.bz2
Compile disassemblers only once
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'Makefile.dis')
-rw-r--r--Makefile.dis23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile.dis b/Makefile.dis
new file mode 100644
index 0000000..3e1fcaf
--- /dev/null
+++ b/Makefile.dis
@@ -0,0 +1,23 @@
+# Makefile for disassemblers.
+
+include ../config-host.mak
+include config.mak
+include $(SRC_PATH)/rules.mak
+
+.PHONY: all
+
+$(call set-vpath, $(SRC_PATH))
+
+QEMU_CFLAGS+=-I..
+
+include $(SRC_PATH)/Makefile.objs
+
+all: $(libdis-y)
+# Dummy command so that make thinks it has done something
+ @true
+
+clean:
+ rm -f *.o *.d *.a *~
+
+# Include automatically generated dependency files
+-include $(wildcard *.d */*.d)