From: Robert Ou Date: Mon, 17 Jul 2017 21:21:59 +0000 (-0700) Subject: makefile: Add the option to use libtermcap X-Git-Tag: yosys-0.8~387^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85d667ca08d53c4869c8212bd79155422941aa2d;p=yosys.git makefile: Add the option to use libtermcap --- diff --git a/Makefile b/Makefile index ffb5db823..81d718430 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ ENABLE_LIBYOSYS := 0 ENABLE_GPROF := 0 ENABLE_NDEBUG := 0 LINK_CURSES := 0 +LINK_TERMCAP := 0 # clang sanitizers SANITIZER = @@ -213,6 +214,10 @@ ifeq ($(LINK_CURSES),1) LDLIBS += -lcurses ABCMKARGS += "ABC_READLINE_LIBRARIES=-lcurses -lreadline" endif +ifeq ($(LINK_TERMCAP),1) +LDLIBS += -ltermcap +ABCMKARGS += "ABC_READLINE_LIBRARIES=-lreadline -ltermcap" +endif ifeq ($(CONFIG),mxe) LDLIBS += -ltermcap endif