Skip to content
Permalink
Browse files
Added readline library to test program.
  • Loading branch information
icculus committed Jul 16, 2001
1 parent d6b8acc commit 9b71131d95a5a18734f66e13eeb0febe4c49f48b
Showing with 3 additions and 2 deletions.
  1. +3 −2 Makefile
@@ -115,7 +115,7 @@ endif
BINDIR := bin
SRCDIR := .

CFLAGS += $(use_asm) -I$(SRCDIR) -D_REENTRANT -fsigned-char -DPLATFORM_UNIX
CFLAGS += $(use_asm) -I$(SRCDIR) -I/usr/include/readline -D_REENTRANT -fsigned-char -DPLATFORM_UNIX
CFLAGS += -Wall -Werror -fno-exceptions -fno-rtti -ansi -pedantic

LDFLAGS += -lm
@@ -130,6 +130,7 @@ endif

ASMFLAGS := -f $(ASMOBJFMT) $(ASMDEFS)

TESTLDFLAGS := -lreadline

#-----------------------------------------------------------------------------#
# Source and target names.
@@ -195,7 +196,7 @@ $(MAINLIB) : $(BINDIR) $(MAINOBJS)
$(LINKER) -o $(MAINLIB) $(LDFLAGS) $(SHAREDFLAGS) $(MAINOBJS)

$(TESTEXE) : $(MAINLIB) $(TESTOBJS)
$(LINKER) -o $(TESTEXE) $(LDFLAGS) $(TESTOBJS) $(MAINLIB)
$(LINKER) -o $(TESTEXE) $(LDFLAGS) $(TESTLDFLAGS) $(TESTOBJS) $(MAINLIB)


$(BINDIR):

0 comments on commit 9b71131

Please sign in to comment.