unix: revert Makefile to not use -ltermcap.

termcap is not needed on Linux.  Need to work out how to automatically
configure the Makefile...
This commit is contained in:
Damien George 2014-01-02 15:50:33 +00:00
parent 6b032642ec
commit 210a02e105
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@ BUILD=build
CC = gcc
CFLAGS = -I. -I$(PYSRC) -Wall -Werror -ansi -std=gnu99 -Os -DUSE_READLINE #-DNDEBUG
LDFLAGS = -lm -ltermcap
LDFLAGS = -lm
SRC_C = \
main.c \
@ -59,6 +59,8 @@ PY_O = \
OBJ = $(addprefix $(BUILD)/, $(SRC_C:.c=.o) $(PY_O))
LIB = -lreadline
# the following is needed for BSD
#LIB += -ltermcap
PROG = py
$(PROG): $(BUILD) $(OBJ)