diff options
author | Robert Ou <rqou@robertou.com> | 2017-07-17 14:21:59 -0700 |
---|---|---|
committer | Robert Ou <rqou@robertou.com> | 2017-07-17 14:21:59 -0700 |
commit | 85d667ca08d53c4869c8212bd79155422941aa2d (patch) | |
tree | 31cdb36bab91235038d2501f6dec856325d7e30d /Makefile | |
parent | f0741698fa45be21a137cdf297daad1ae948ca54 (diff) | |
download | yosys-85d667ca08d53c4869c8212bd79155422941aa2d.tar.gz yosys-85d667ca08d53c4869c8212bd79155422941aa2d.tar.bz2 yosys-85d667ca08d53c4869c8212bd79155422941aa2d.zip |
makefile: Add the option to use libtermcap
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |