aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile.target b/Makefile.target
index fca219201c..1bc101bf31 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -267,15 +267,21 @@ endif
# libqemu
+OPC_H = gen-op.h dyngen-opc.h op.h
+
libqemu.a: $(LIBOBJS)
rm -f $@
$(AR) rcs $@ $(LIBOBJS)
-translate.o: translate.c gen-op.h dyngen-opc.h cpu.h
+translate.o: translate.c cpu.h $(OPC_H)
+
+translate-all.o: translate-all.c cpu.h $(OPC_H)
+
+tcg/tcg.o: cpu.h $(OPC_H)
-translate-all.o: translate-all.c dyngen-opc.h cpu.h
+tcg/tcg-dyngen.o: $(OPC_H)
-tcg/tcg.o: op.h dyngen-opc.h cpu.h
+tcg/tcg-runtime.o: $(OPC_H)
op.h: op.o $(DYNGEN)
$(DYNGEN) -o $@ $<