Skip to content

Commit 22ee546

Browse files
author
Daniel Kroening
committed
fix ordering problem in solvers/Makefile
1 parent 8befd02 commit 22ee546

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/common

-5
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,6 @@ else
158158
$(error Invalid setting for BUILD_ENV: $(BUILD_ENV_))
159159
endif
160160

161-
# select default solver to be minisat2 if no other is specified
162-
ifeq ($(BOOLEFORCE)$(CHAFF)$(GLUCOSE)$(IPASIR)$(LINGELING)$(MINISAT)$(MINISAT2)$(PICOSAT)$(CADICAL),)
163-
MINISAT2 = ../../minisat-2.2.1
164-
endif
165-
166161
ifneq ($(IPASIR),)
167162
CP_CXXFLAGS += -DHAVE_IPASIR
168163
endif

src/solvers/Makefile

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
include ../config.inc
2-
include ../common
2+
3+
# select default solver to be minisat2 if no other is specified
4+
ifeq ($(BOOLEFORCE)$(CHAFF)$(GLUCOSE)$(IPASIR)$(LINGELING)$(MINISAT)$(MINISAT2)$(PICOSAT)$(CADICAL),)
5+
MINISAT2 = ../../minisat-2.2.1
6+
endif
37

48
ifneq ($(CHAFF),)
59
CHAFF_SRC=sat/satcheck_zchaff.cpp sat/satcheck_zcore.cpp
@@ -195,6 +199,8 @@ SRC = $(BOOLEFORCE_SRC) \
195199
smt2/smt2irep.cpp \
196200
# Empty last line
197201

202+
include ../common
203+
198204
INCLUDES += -I .. \
199205
$(CHAFF_INCLUDE) $(BOOLEFORCE_INCLUDE) $(MINISAT_INCLUDE) $(MINISAT2_INCLUDE) \
200206
$(IPASIR_INCLUDE) \

0 commit comments

Comments
 (0)