2013-06-07 03:38:35 -05:00
|
|
|
|
|
|
|
CC = clang
|
2024-02-25 10:23:56 -06:00
|
|
|
CXX = clang++
|
2013-06-07 03:38:35 -05:00
|
|
|
CXXFLAGS = -MD -Wall -Wextra -ggdb
|
|
|
|
CXXFLAGS += -std=c++11 -O0
|
2024-02-25 10:23:56 -06:00
|
|
|
LIBS = ../minisat/Options.cc ../minisat/SimpSolver.cc ../minisat/Solver.cc ../minisat/System.cc -lm -lstdc++
|
2014-07-20 18:03:01 -05:00
|
|
|
|
2013-06-07 03:38:35 -05:00
|
|
|
|
2013-06-08 05:14:20 -05:00
|
|
|
all: demo_vec demo_bit demo_cmp testbench puzzle3d
|
2013-06-07 03:38:35 -05:00
|
|
|
|
|
|
|
demo_vec: demo_vec.o ezsat.o ezminisat.o
|
|
|
|
demo_bit: demo_bit.o ezsat.o ezminisat.o
|
2013-06-08 05:14:20 -05:00
|
|
|
demo_cmp: demo_cmp.o ezsat.o ezminisat.o
|
2013-06-07 03:38:35 -05:00
|
|
|
testbench: testbench.o ezsat.o ezminisat.o
|
|
|
|
puzzle3d: puzzle3d.o ezsat.o ezminisat.o
|
|
|
|
|
|
|
|
test: all
|
|
|
|
./testbench
|
|
|
|
./demo_bit
|
|
|
|
./demo_vec
|
2014-07-20 18:49:59 -05:00
|
|
|
# ./demo_cmp
|
|
|
|
# ./puzzle3d
|
2013-06-07 03:38:35 -05:00
|
|
|
|
|
|
|
clean:
|
2014-05-06 06:48:25 -05:00
|
|
|
rm -f demo_bit demo_vec demo_cmp testbench puzzle3d *.o *.d
|
2013-06-07 03:38:35 -05:00
|
|
|
|
|
|
|
.PHONY: all test clean
|
|
|
|
|
|
|
|
-include *.d
|