diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-07-21 01:03:01 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-07-21 01:03:01 +0200 |
commit | ade659e617922171ad1b678a51765ba2046c27d8 (patch) | |
tree | f6dd312d5b3290fe019dd7c1dc296b3147664cc8 | |
parent | 92c9403249ba59e5f57b2adb8b8b0141c2c63f26 (diff) | |
download | yosys-ade659e617922171ad1b678a51765ba2046c27d8.tar.gz yosys-ade659e617922171ad1b678a51765ba2046c27d8.tar.bz2 yosys-ade659e617922171ad1b678a51765ba2046c27d8.zip |
Fixed ezSAT stand-alone build
-rw-r--r-- | libs/ezsat/Makefile | 3 | ||||
-rw-r--r-- | libs/ezsat/ezminisat.cc | 9 |
2 files changed, 4 insertions, 8 deletions
diff --git a/libs/ezsat/Makefile b/libs/ezsat/Makefile index e831cc6f0..1dcb5d15b 100644 --- a/libs/ezsat/Makefile +++ b/libs/ezsat/Makefile @@ -3,7 +3,8 @@ CC = clang CXX = clang CXXFLAGS = -MD -Wall -Wextra -ggdb CXXFLAGS += -std=c++11 -O0 -LDLIBS = -lminisat -lm -lstdc++ +LDLIBS = ../minisat/Options.cc ../minisat/SimpSolver.cc ../minisat/Solver.cc ../minisat/System.cc -lm -lstdc++ + all: demo_vec demo_bit demo_cmp testbench puzzle3d diff --git a/libs/ezsat/ezminisat.cc b/libs/ezsat/ezminisat.cc index caee73f88..6a6c075f5 100644 --- a/libs/ezsat/ezminisat.cc +++ b/libs/ezsat/ezminisat.cc @@ -28,13 +28,8 @@ #include <csignal> #include <cinttypes> -#ifdef _YOSYS_ -# include "libs/minisat/Solver.h" -# include "libs/minisat/SimpSolver.h" -#else -# include <minisat/core/Solver.h> -# include <minisat/simp/SimpSolver.h> -#endif +#include "../minisat/Solver.h" +#include "../minisat/SimpSolver.h" ezMiniSAT::ezMiniSAT() : minisatSolver(NULL) { |