-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile.h
36 lines (23 loc) · 918 Bytes
/
makefile.h
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
31
32
33
34
35
36
all: Beginning.o ChangePlayerName.o EnterPlayerName.o gameover.o GameRule.o ScoreBoard.o swap.o main.o main clean run
Beginning.o: Beginning.cpp
g++ -c Beginning.cpp
ChangePlayerName.o: ChangePlayerName.cpp
g++ -c ChangePlayerName.cpp
EnterPlayerName.o: EnterPlayerName.cpp
g++ -c EnterPlayerName.cpp
gameover.o: gameover.cpp
g++ -c gameover.cpp
GameRule.o: GameRule.cpp
g++ -c GameRule.cpp
ScoreBoard.o: ScoreBoard.cpp
g++ -c ScoreBoard.cpp
swap.o: swap.cpp
g++ -c swap.cpp
main.o: main.cpp
g++ -c main.cpp
main: Beginning.o ChangePlayerName.o EnterPlayerName.o gameover.o GameRule.o ScoreBoard.o swap.o main.o
g++ Beginning.o ChangePlayerName.o EnterPlayerName.o gameover.o GameRule.o ScoreBoard.o swap.o main.o -o main
run: main
./main
clean:
rm -f Beginning.o ChangePlayerName.o EnterPlayerName.o gameover.o GameRule.o ScoreBoard.o swap.o main.o