Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added readline library to test program.
  • Loading branch information
icculus committed Jul 16, 2001
1 parent d6b8acc commit 9b71131
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Expand Up @@ -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
Expand All @@ -130,6 +130,7 @@ endif

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

TESTLDFLAGS := -lreadline

#-----------------------------------------------------------------------------#
# Source and target names.
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 9b71131

Please sign in to comment.