From 9383ce79b4f1f006cb1a7f62f1fcc8016e31ad04 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 19 Feb 2014 00:22:27 -0800 Subject: Apart from the Z80 core, BlastEm now supports 32-bit x86 --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cfa28c0..f8b6c72 100644 --- a/Makefile +++ b/Makefile @@ -22,8 +22,18 @@ ifndef CPU CPU:=$(shell uname -m) endif + + TRANSOBJS=gen_x86.o x86_backend.o mem.o -M68KOBJS=68kinst.o m68k_to_x86.o runtime.o +M68KOBJS=68kinst.o m68k_to_x86.o +ifeq ($(CPU),x86_64) +M68kOBJS+= runtime.o +else +ifeq ($(CPU),i686) +M68KOBJS+= runtime_32.o +endif +endif + Z80OBJS=z80inst.o z80_to_x86.o zruntime.o AUDIOOBJS=ym2612.o psg.o wave.o CONFIGOBJS=config.o tern.o util.o -- cgit v1.2.3