diff options
author | Ian C <ianc@noddybox.co.uk> | 2006-08-21 00:01:01 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2006-08-21 00:01:01 +0000 |
commit | 65c818acf64915aa6b1de12774abab855cb6437b (patch) | |
tree | c4d2ab06375f3591fe84958c0789959c86d388fa /Makefile | |
parent | f295f65db435ab7cb384e44e1dd74dc6d7a34853 (diff) |
Added disassembler
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -18,7 +18,7 @@ # # ------------------------------------------------------------------------- # -# $Id: Makefile,v 1.2 2006-08-20 22:31:42 ianc Exp $ +# $Id: Makefile,v 1.3 2006-08-21 00:01:01 ianc Exp $ # # This CFLAGS assumes that gcc is being used. @@ -27,14 +27,21 @@ # CFLAGS = -Wall -Werror -pedantic -ansi -O2 -finline-functions +# Remove this to disable the disassembler (saving some memory) +# +CFLAGS += -DENABLE_DISASSEM + + TARGET = emma SOURCE = z80.c \ - z80_decode \ + z80_decode.c \ + z80_dis.c \ emma.c OBJECTS = z80.o \ z80_decode.o \ + z80_dis.o \ emma.o all: $(TARGET) emucpm.hex @@ -54,13 +61,12 @@ depend: # DO NOT DELETE THIS LINE -- make depend depends on it -z80.o: /usr/include/stddef.h /usr/include/sys/cdefs.h +z80.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h z80.o: /usr/include/sys/_null.h /usr/include/sys/_types.h -z80.o: /usr/include/machine/_types.h /usr/include/stdlib.h -z80.o: /usr/include/stdio.h /usr/include/string.h /usr/include/strings.h -z80.o: /usr/include/ctype.h /usr/include/_ctype.h /usr/include/runetype.h -z80.o: /usr/include/limits.h /usr/include/sys/limits.h -z80.o: /usr/include/machine/_limits.h /usr/include/sys/syslimits.h z80.h +z80.o: /usr/include/machine/_types.h z80.h z80_private.h +z80_decode.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h +z80_decode.o: /usr/include/sys/_null.h /usr/include/sys/_types.h +z80_decode.o: /usr/include/machine/_types.h z80.h z80_private.h emma.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h emma.o: /usr/include/sys/_null.h /usr/include/sys/_types.h emma.o: /usr/include/machine/_types.h /usr/include/stdio.h |