forked from justinhj/astar-algorithm-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
31 lines (17 loc) · 604 Bytes
/
makefile
File metadata and controls
31 lines (17 loc) · 604 Bytes
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
all : 8puzzle findpath minpathbucharest tests
# Set the C++ compiler to g++
CXX = g++
# Set some common C++ flags
CXXFLAGS = -std=c++11 -Wall
clean :
rm 8puzzle findpath minpathbucharest tests
minpathbucharest : min_path_to_Bucharest.cpp stlastar.h
$(CXX) $(CXXFLAGS) min_path_to_Bucharest.cpp -o minpathbucharest
8puzzle : 8puzzle.cpp stlastar.h
$(CXX) $(CXXFLAGS) -Wall 8puzzle.cpp -o 8puzzle
findpath : findpath.cpp stlastar.h
$(CXX) $(CXXFLAGS) findpath.cpp -o findpath
tests : tests.cpp 8puzzle findpath minpathbucharest
$(CXX) $(CXXFLAGS) tests.cpp -o tests
test: tests
./tests