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:
parent
6b032642ec
commit
210a02e105
|
@ -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 = \
|
||||||
|
|
||||||
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)
|
||||||
|
|
Loading…
Reference in New Issue