aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-07-27 07:40:38 +0100
committerGitHub <noreply@github.com>2019-07-27 07:40:38 +0100
commit6538671c84a12114a991d59569eede3e0d368758 (patch)
treefc79a549c0dc422d77928d306bd14f4235f62ebb /Makefile
parenta02d1720a766ae1b993a9884e840f37b3d785b8f (diff)
parent482926cbd306cc71aebb81b1b8e825ced9b3f26d (diff)
downloadyosys-6538671c84a12114a991d59569eede3e0d368758.tar.gz
yosys-6538671c84a12114a991d59569eede3e0d368758.tar.bz2
yosys-6538671c84a12114a991d59569eede3e0d368758.zip
Merge pull request #1226 from YosysHQ/dave/gzip
Add support for gzip'd input files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3bc119800..c33864469 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ ENABLE_VERIFIC := 0
ENABLE_COVER := 1
ENABLE_LIBYOSYS := 0
ENABLE_PROTOBUF := 0
+ENABLE_ZLIB := 1
# python wrappers
ENABLE_PYOSYS := 0
@@ -384,6 +385,12 @@ ifeq ($(ENABLE_GLOB),1)
CXXFLAGS += -DYOSYS_ENABLE_GLOB
endif
+ifeq ($(ENABLE_ZLIB),1)
+CXXFLAGS += -DYOSYS_ENABLE_ZLIB
+LDLIBS += -lz
+endif
+
+
ifeq ($(ENABLE_TCL),1)
TCL_VERSION ?= tcl$(shell bash -c "tclsh <(echo 'puts [info tclversion]')")
ifeq ($(OS), FreeBSD)