Until the build system is updated to produce a dynamic library, it's
easier to avoid dependencies on any other libraries.
endif
-LDFLAGS = $(LDFLAGS_BASE) -lz -fopenmp
+LDFLAGS = $(LDFLAGS_BASE)
CFLAGS = $(CFLAGS_BASE) $(CFLAGS_M32)
SCCFinder.cpp
OBJECTS = $(SOURCES:.cpp=.o)
LIB = libminisat.a
-CFLAGS += -I../.. -I$(MTL) -I$(MTRAND) -fopenmp -DEXT_HASH_MAP -ffloat-store $(CFLAGS_M32) -c
+CFLAGS += -I../.. -I$(MTL) -I$(MTRAND) -DDISABLE_ZLIB -DEXT_HASH_MAP -ffloat-store $(CFLAGS_M32) -c
EXEC = minisat
LFLAGS = -lz
double cpu_time = cpuTime();
uint64_t mem_used = memUsed();
- int numThreads = omp_get_num_threads();
+#ifdef _OPENMP
+ const int numThreads = omp_get_num_threads();
+#else
+ const int numThreads = 1;
+#endif
+
if (numThreads > 1) {
std::cout << "c Following stats are for *FIRST FINISHED THREAD ONLY*" << std::endl;
#if !defined(_MSC_VER) && !defined(RUSAGE_THREAD)