diff options
author | Ian C <ianc@noddybox.co.uk> | 2006-08-28 00:46:51 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2006-08-28 00:46:51 +0000 |
commit | e7ed44a6f32c37c736d1e516da5df101087b90c1 (patch) | |
tree | 2c01a4d8bb1000ffb2258827c1a90348e6ed0cc7 /Makefile | |
parent | 8092443b5ed2d33b076749387577f4e1466735fe (diff) |
Added readline to EMMA
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -18,7 +18,7 @@ # # ------------------------------------------------------------------------- # -# $Id: Makefile,v 1.7 2006-08-28 00:19:04 ianc Exp $ +# $Id: Makefile,v 1.8 2006-08-28 00:46:51 ianc Exp $ # # This CFLAGS assumes that gcc is being used. @@ -31,6 +31,11 @@ CFLAGS = -g -Wall -Werror -pedantic -ansi -O2 -finline-functions # CFLAGS += -DENABLE_DISASSEM +# Remove the follwing to disable the use of readline +# +CFLAGS += -DENABLE_READLINE +LIBS += -lreadline + TARGET = emma @@ -49,7 +54,7 @@ OBJECTS = z80.o \ all: $(TARGET) emucpm.hex zexdoc.hex zexall.hex $(TARGET): $(OBJECTS) - cc -o $(TARGET) $(OBJECTS) + cc -o $(TARGET) $(OBJECTS) $(LIBS) emucpm.hex: emucpm.z80 tpasm -P Z80 -o intel emucpm.hex emucpm.z80 |