-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (28 loc) · 1.18 KB
/
Makefile
File metadata and controls
41 lines (28 loc) · 1.18 KB
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
37
38
39
40
#Executable creation 'LightBot'
all: main.o Application.o Button.o Cell.o Grid.o Interface.o ProgramBox.o ProgramHandler.o Robot.o Theme.o Utils.o
g++ main.o Application.o Button.o Cell.o Grid.o Interface.o ProgramBox.o ProgramHandler.o Robot.o Theme.o Utils.o -o LightBot -lsfml-graphics -lsfml-window -lsfml-system
main.o: main.cpp Application.h Button.h Cell.h Grid.h Interface.h ProgramBox.h ProgramHandler.h Robot.h Theme.h Utils.h
g++ -c -std=c++11 main.cpp -o main.o
Application.o: Application.cpp
g++ -c -std=c++11 Application.cpp -o Application.o
Button.o: Button.cpp
g++ -c -std=c++11 Button.cpp -o Button.o
Cell.o: Cell.cpp
g++ -c -std=c++11 Cell.cpp -o Cell.o
Grid.o: Grid.cpp
g++ -c -std=c++11 Grid.cpp -o Grid.o
Interface.o: Interface.cpp
g++ -c -std=c++11 Interface.cpp -o Interface.o
ProgramBox.o: ProgramBox.cpp
g++ -c -std=c++11 ProgramBox.cpp -o ProgramBox.o
ProgramHandler.o: ProgramHandler.cpp
g++ -c -std=c++11 ProgramHandler.cpp -o ProgramHandler.o
Robot.o: Robot.cpp
g++ -c -std=c++11 Robot.cpp -o Robot.o
Theme.o: Theme.cpp
g++ -c -std=c++11 Theme.cpp -o Theme.o
Utils.o: Utils.cpp
g++ -c -std=c++11 Utils.cpp -o Utils.o
#Clean temporary files
clean:
rm -rf *.o