Commit 210a02e1 authored by Damien George's avatar Damien George
Browse files

unix: revert Makefile to not use -ltermcap.

termcap is not needed on Linux.  Need to work out how to automatically
configure the Makefile...
parent 6b032642
...@@ -3,7 +3,7 @@ BUILD=build ...@@ -3,7 +3,7 @@ BUILD=build
CC = gcc CC = gcc
CFLAGS = -I. -I$(PYSRC) -Wall -Werror -ansi -std=gnu99 -Os -DUSE_READLINE #-DNDEBUG CFLAGS = -I. -I$(PYSRC) -Wall -Werror -ansi -std=gnu99 -Os -DUSE_READLINE #-DNDEBUG
LDFLAGS = -lm -ltermcap LDFLAGS = -lm
SRC_C = \ SRC_C = \
main.c \ main.c \
...@@ -59,6 +59,8 @@ PY_O = \ ...@@ -59,6 +59,8 @@ PY_O = \
OBJ = $(addprefix $(BUILD)/, $(SRC_C:.c=.o) $(PY_O)) OBJ = $(addprefix $(BUILD)/, $(SRC_C:.c=.o) $(PY_O))
LIB = -lreadline LIB = -lreadline
# the following is needed for BSD
#LIB += -ltermcap
PROG = py PROG = py
$(PROG): $(BUILD) $(OBJ) $(PROG): $(BUILD) $(OBJ)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment