aboutsummaryrefslogtreecommitdiffstats
path: root/libs/ezsat/Makefile
blob: b1f8641609395fa4d3d67cedfc6d9e37babda782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
CC = clang
CXX = clang
CXXFLAGS = -MD -Wall -Wextra -ggdb
CXXFLAGS += -std=c++11 -O0
LDLIBS = ../minisat/Options.cc ../minisat/SimpSolver.cc ../minisat/Solver.cc ../minisat/System.cc -lm -lstdc++


all: demo_vec demo_bit demo_cmp testbench puzzle3d

demo_vec: demo_vec.o ezsat.o ezminisat.o
demo_bit: demo_bit.o ezsat.o ezminisat.o
demo_cmp: demo_cmp.o ezsat.o ezminisat.o
testbench: testbench.o ezsat.o ezminisat.o
puzzle3d: puzzle3d.o ezsat.o ezminisat.o

test: all
	./testbench
	./demo_bit
	./demo_vec
	# ./demo_cmp
	# ./puzzle3d

clean:
	rm -f demo_bit demo_vec demo_cmp testbench puzzle3d *.o *.d

.PHONY: all test clean

-include *.d