summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--src/misc/bzlib/module.make7
2 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bc17f5a4..78829354 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ MODULES := src/base/abc src/base/abci src/base/cmd \
src/aig/mem src/aig/dar src/aig/fra src/aig/cnf \
src/aig/csw src/aig/ioa src/aig/aig src/aig/kit \
src/aig/bdc src/aig/bar src/aig/ntl src/aig/nwk src/aig/mfx \
- src/aig/tim src/aig/saig src/aig/bbr
+ src/aig/tim src/aig/saig src/aig/bbr src/misc/bzlib
default: $(PROG)
@@ -32,7 +32,7 @@ OPTFLAGS := -g -O -DLIN64
CFLAGS += -Wall -Wno-unused-function $(OPTFLAGS) $(patsubst %, -I%, $(MODULES))
CXXFLAGS += $(CFLAGS)
-LIBS := -ldl -rdynamic -lreadline -ltermcap -lbz2
+LIBS := -ldl -rdynamic -lreadline -ltermcap
SRC :=
GARBAGE := core core.* *.stackdump ./tags $(PROG)
diff --git a/src/misc/bzlib/module.make b/src/misc/bzlib/module.make
new file mode 100644
index 00000000..3b920037
--- /dev/null
+++ b/src/misc/bzlib/module.make
@@ -0,0 +1,7 @@
+SRC += src/misc/bzlib/blocksort.c \
+ src/misc/bzlib/bzlib.c \
+ src/misc/bzlib/compress.c \
+ src/misc/bzlib/crctable.c \
+ src/misc/bzlib/decompress.c \
+ src/misc/bzlib/huffman.c \
+ src/misc/bzlib/randtable.c