summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2014-02-24 09:55:24 -0800
committerMichael Pavone <pavone@retrodev.com>2014-02-24 09:55:24 -0800
commit98ce28ba0adb770e0ac29e1f9822b675ef914769 (patch)
tree81279df0c24103bf43b3a1d8425a826c8aed4685 /Makefile
parent14c0b3e916d866601311f9bbe53ab64ed560f67f (diff)
Moved some generic stuff from backend.h gen_arm.h and gen_arm.c into gen.h and gen.c. Added a couple fields to cpu_options so that gen_mem_fun can be made guest CPU generic
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a20ae8f..8d4b079 100644
--- a/Makefile
+++ b/Makefile
@@ -24,13 +24,15 @@ endif
-TRANSOBJS=gen_x86.o backend.o mem.o
+TRANSOBJS=gen.o backend.o mem.o
M68KOBJS=68kinst.o m68k_to_x86.o
ifeq ($(CPU),x86_64)
M68KOBJS+= runtime.o
+TRANSOBJS+= gen_x86.o
else
ifeq ($(CPU),i686)
M68KOBJS+= runtime_32.o
+TRANSOBJS+= gen_x86.o
endif
endif
@@ -85,11 +87,11 @@ vgmplay : vgmplay.o render_sdl.o $(CONFIGOBJS) $(AUDIOOBJS)
testgst : testgst.o gst.o
$(CC) -o testgst testgst.o gst.o
-test_x86 : test_x86.o gen_x86.o
- $(CC) -o test_x86 test_x86.o gen_x86.o
+test_x86 : test_x86.o gen_x86.o gen.o
+ $(CC) -o test_x86 test_x86.o gen_x86.o gen.o
-test_arm : test_arm.o gen_arm.o mem.o
- $(CC) -o test_arm test_arm.o gen_arm.o mem.o
+test_arm : test_arm.o gen_arm.o mem.o gen.o
+ $(CC) -o test_arm test_arm.o gen_arm.o mem.o gen.o
gen_fib : gen_fib.o gen_x86.o mem.o
$(CC) -o gen_fib gen_fib.o gen_x86.o mem.o