diff options
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 |