From e7ed44a6f32c37c736d1e516da5df101087b90c1 Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 28 Aug 2006 00:46:51 +0000 Subject: Added readline to EMMA --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e83b30d..975c790 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3