Mercurial > repos > blastem
diff Makefile @ 565:9324f721efa6
Add a separate flag/define for disabling the Z80 at compile time to ease refactoring
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 01 Mar 2014 17:11:06 -0800 |
parents | c8fefa140c80 |
children | 19e517735215 |
line wrap: on
line diff
--- a/Makefile Sat Mar 01 17:07:33 2014 -0800 +++ b/Makefile Sat Mar 01 17:11:06 2014 -0800 @@ -33,6 +33,7 @@ ifeq ($(CPU),i686) M68KOBJS+= runtime_32.o TRANSOBJS+= gen_x86.o +NOZ80:=1 endif endif @@ -44,13 +45,18 @@ 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