-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
22 lines (22 loc) · 699 Bytes
/
makefile
File metadata and controls
22 lines (22 loc) · 699 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CC = g++
default: engine clean
engine: engine.o readInputData.o Map.o trienode.o listnode.o search.o scorelist.o maxheap.o
$(CC) -o engine engine.o readInputData.o Map.o trienode.o listnode.o search.o scorelist.o maxheap.o
engine.o: engine.cpp engine.h
$(CC) -c engine.cpp
readInputData.o: readInputData.cpp readInputData.h
$(CC) -c readInputData.cpp
Map.o: Map.cpp Map.h
$(CC) -c Map.cpp
trienode.o: trienode.cpp trienode.h
$(CC) -c trienode.cpp
listnode.o: listnode.cpp listnode.h
$(CC) -c listnode.cpp
search.o: search.cpp search.h
$(CC) -c search.cpp
scorelist.o: scorelist.cpp scorelist.h
$(CC) -c scorelist.cpp
maxheap.o: maxheap.cpp maxheap.h
$(CC) -c maxheap.cpp
clean:
rm *.o