diff options
author | Michael Pavone <pavone@retrodev.com> | 2014-03-01 17:11:06 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2014-03-01 17:11:06 -0800 |
commit | 2cd6ec514cf4747c299c50b29bc8c22cafe2eb43 (patch) | |
tree | 813fafe63fb56c5b6c64da91ffdd1629b6cb402e /Makefile | |
parent | 46d4c0ce6e3d5f4f46ada01a6523629de79770ba (diff) |
Add a separate flag/define for disabling the Z80 at compile time to ease refactoring
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -33,6 +33,7 @@ else ifeq ($(CPU),i686) M68KOBJS+= runtime_32.o TRANSOBJS+= gen_x86.o +NOZ80:=1 endif endif @@ -44,13 +45,18 @@ MAINOBJS=blastem.o debug.o gdb_remote.o vdp.o render_sdl.o io.o $(CONFIGOBJS) gs ifeq ($(CPU),x86_64) CFLAGS+=-DX86_64 -MAINOBJS+= $(Z80OBJS) else ifeq ($(CPU),i686) CFLAGS+=-DX86_32 endif endif +ifdef NOZ80 +CFLAGS+=-DNO_Z80 +else +MAINOBJS+= $(Z80OBJS) +endif + all : dis zdis stateview vgmplay blastem |