-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
28 lines (19 loc) · 639 Bytes
/
Makefile
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
CXX = g++
CXXFLAGS = -O2 -Wc++11-extensions
all: TriPeaksSolver FreeCellSolver PyramidSolver KlondikeSolver
md5.o: md5.cc md5.h
$(CXX) $(CXXFLAGS) -c $<
common.o: common.cc common.h
$(CXX) $(CXXFLAGS) -c $<
TriPeaksSolver: TriPeaksSolver.cc common.o
$(CXX) $(CXXFLAGS) -o $@ $< common.o
PyramidSolver: PyramidSolver.cc common.o
$(CXX) $(CXXFLAGS) -o $@ $< common.o
FreeCellSolver: FreeCellSolver.cc common.o
$(CXX) $(CXXFLAGS) -o $@ $< common.o
fcs125: fcs125.cc common.o
$(CXX) $(CXXFLAGS) -o $@ $< common.o
KlondikeSolver: KlondikeSolver.cc common.o
$(CXX) $(CXXFLAGS) -o $@ $< common.o -DDEBUG
clean:
rm -f *Solver *.o