aboutsummaryrefslogtreecommitdiff
path: root/unix
diff options
context:
space:
mode:
authorDamien George2014-01-02 15:50:33 +0000
committerDamien George2014-01-02 15:50:33 +0000
commit210a02e1051d9f5b6f03c24714ab86ac936bc41d (patch)
tree80086fd15ab6c2de73133a9b3ac166a27cb30d6b /unix
parent6b032642ece5d56557beb21a3e712fb6538d979e (diff)
unix: revert Makefile to not use -ltermcap.
termcap is not needed on Linux. Need to work out how to automatically configure the Makefile...
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/Makefile b/unix/Makefile
index 3ff32cd85..492962c8c 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -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)