summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2008-01-30 20:01:00 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2008-01-30 20:01:00 -0800
commit0c6505a26a537dc911b6566f82d759521e527c08 (patch)
treef2687995efd4943fe3b1307fce7ef5942d0a57b3 /Makefile
parent4d30a1e4f1edecff86d5066ce4653a370e59e5e1 (diff)
downloadabc-0c6505a26a537dc911b6566f82d759521e527c08.tar.gz
abc-0c6505a26a537dc911b6566f82d759521e527c08.tar.bz2
abc-0c6505a26a537dc911b6566f82d759521e527c08.zip
Version abc80130_2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile30
1 files changed, 21 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index adb4cf94..3b680f92 100644
--- a/Makefile
+++ b/Makefile
@@ -6,22 +6,30 @@ CP := cp
PROG := abc
-MODULES := src/base/abc src/base/abci src/base/abcs src/base/cmd src/base/io src/base/main \
- src/bdd/cudd src/bdd/dsd src/bdd/epd src/bdd/mtr src/bdd/parse src/bdd/reo \
- src/map/fpga src/map/mapper src/map/mio src/map/super \
- src/misc/extra src/misc/mvc src/misc/st src/misc/util src/misc/vec \
- src/opt/cut src/opt/dec src/opt/fxu src/opt/rwr src/opt/sim \
- src/sat/asat src/sat/csat src/sat/msat src/sat/fraig
+MODULES := src/base/abc src/base/abci src/base/cmd \
+ src/base/io src/base/main src/base/ver \
+ src/bdd/cudd src/bdd/dsd src/bdd/epd src/bdd/mtr \
+ src/bdd/parse src/bdd/reo src/bdd/cas \
+ src/map/fpga src/map/mapper src/map/mio src/map/super src/map/if \
+ src/misc/extra src/misc/mvc src/misc/st src/misc/util \
+ src/misc/espresso src/misc/nm src/misc/vec src/misc/hash \
+ src/opt/cut src/opt/dec src/opt/fxu src/opt/rwr \
+ src/opt/sim src/opt/ret src/opt/res src/opt/lpk src/opt/fret \
+ src/sat/bsat src/sat/csat src/sat/msat src/sat/fraig \
+ src/aig/ivy src/aig/hop src/aig/rwt src/aig/deco \
+ 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/tim
default: $(PROG)
-OPTFLAGS := -DNDEBUG -O3
-#OPTFLAGS := -g -O
+#OPTFLAGS := -DNDEBUG -O3
+OPTFLAGS := -g -O
CFLAGS += -Wall -Wno-unused-function $(OPTFLAGS) $(patsubst %, -I%, $(MODULES))
CXXFLAGS += $(CFLAGS)
-LIBS :=
+LIBS := -ldl -rdynamic -lreadline -ltermcap
SRC :=
GARBAGE := core core.* *.stackdump ./tags $(PROG)
@@ -59,6 +67,10 @@ tags:
$(PROG): $(OBJ)
$(LD) -o $@ $^ $(LIBS)
+lib$(PROG).a: $(OBJ)
+ ar rv $@ $?
+ ranlib $@
+
docs:
doxygen doxygen.conf