-
Notifications
You must be signed in to change notification settings - Fork 0
/
QwopBot.mk
168 lines (137 loc) · 9.46 KB
/
QwopBot.mk
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
##
## Auto Generated makefile by CodeLite IDE
## any manual changes will be erased
##
## Debug
ProjectName :=QwopBot
ConfigurationName :=Debug
WorkspacePath := "/home/matteo/Progetti"
ProjectPath := "/home/matteo/Progetti/QwopBot"
IntermediateDirectory :=./Debug
OutDir := $(IntermediateDirectory)
CurrentFileName :=
CurrentFilePath :=
CurrentFileFullPath :=
User :=matteo
Date :=12/02/14
CodeLitePath :="/home/matteo/.codelite"
LinkerName :=/usr/bin/g++
SharedObjectLinkerName :=/usr/bin/g++ -shared -fPIC
ObjectSuffix :=.o
DependSuffix :=.o.d
PreprocessSuffix :=.i
DebugSwitch :=-g
IncludeSwitch :=-I
LibrarySwitch :=-l
OutputSwitch :=-o
LibraryPathSwitch :=-L
PreprocessorSwitch :=-D
SourceSwitch :=-c
OutputFile :=$(IntermediateDirectory)/$(ProjectName)
Preprocessors :=
ObjectSwitch :=-o
ArchiveOutputSwitch :=
PreprocessOnlySwitch :=-E
ObjectsFileList :="QwopBot.txt"
PCHCompileFlags :=
MakeDirCommand :=mkdir -p
LinkOptions := `pkg-config --libs opencv`
IncludePath := $(IncludeSwitch). $(IncludeSwitch).
IncludePCH :=
RcIncludePath :=
Libs := $(LibrarySwitch)X11 $(LibrarySwitch)xdo
ArLibs := "X11" "xdo"
LibPath := $(LibraryPathSwitch).
##
## Common variables
## AR, CXX, CC, AS, CXXFLAGS and CFLAGS can be overriden using an environment variables
##
AR := /usr/bin/ar rcu
CXX := /usr/bin/g++
CC := /usr/bin/gcc
CXXFLAGS := -g -O0 -Wall -std=c++11 $(Preprocessors)
CFLAGS := -g -O0 -Wall $(Preprocessors)
ASFLAGS :=
AS := /usr/bin/as
##
## User defined environment variables
##
CodeLiteDir:=/usr/share/codelite
Objects0=$(IntermediateDirectory)/main.cpp$(ObjectSuffix) $(IntermediateDirectory)/ScreenGrabber.cpp$(ObjectSuffix) $(IntermediateDirectory)/ImageAnalyzer.cpp$(ObjectSuffix) $(IntermediateDirectory)/QwopAnalyzer.cpp$(ObjectSuffix) $(IntermediateDirectory)/KeyPresser.cpp$(ObjectSuffix) $(IntermediateDirectory)/QwopBot.cpp$(ObjectSuffix) $(IntermediateDirectory)/DecisionMaker.cpp$(ObjectSuffix) $(IntermediateDirectory)/StopClock.cpp$(ObjectSuffix)
Objects=$(Objects0)
##
## Main Build Targets
##
.PHONY: all clean PreBuild PrePreBuild PostBuild
all: $(OutputFile)
$(OutputFile): $(IntermediateDirectory)/.d $(Objects)
@$(MakeDirCommand) $(@D)
@echo "" > $(IntermediateDirectory)/.d
@echo $(Objects0) > $(ObjectsFileList)
$(LinkerName) $(OutputSwitch)$(OutputFile) @$(ObjectsFileList) $(LibPath) $(Libs) $(LinkOptions)
$(IntermediateDirectory)/.d:
@test -d ./Debug || $(MakeDirCommand) ./Debug
PreBuild:
@echo Executing Pre Build commands ...
echo ciao
@echo Done
##
## Objects
##
$(IntermediateDirectory)/main.cpp$(ObjectSuffix): main.cpp $(IntermediateDirectory)/main.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/matteo/Progetti/QwopBot/main.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/main.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/main.cpp$(DependSuffix): main.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/main.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/main.cpp$(DependSuffix) -MM "main.cpp"
$(IntermediateDirectory)/main.cpp$(PreprocessSuffix): main.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/main.cpp$(PreprocessSuffix) "main.cpp"
$(IntermediateDirectory)/ScreenGrabber.cpp$(ObjectSuffix): ScreenGrabber.cpp $(IntermediateDirectory)/ScreenGrabber.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/matteo/Progetti/QwopBot/ScreenGrabber.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/ScreenGrabber.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/ScreenGrabber.cpp$(DependSuffix): ScreenGrabber.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/ScreenGrabber.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/ScreenGrabber.cpp$(DependSuffix) -MM "ScreenGrabber.cpp"
$(IntermediateDirectory)/ScreenGrabber.cpp$(PreprocessSuffix): ScreenGrabber.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/ScreenGrabber.cpp$(PreprocessSuffix) "ScreenGrabber.cpp"
$(IntermediateDirectory)/ImageAnalyzer.cpp$(ObjectSuffix): ImageAnalyzer.cpp $(IntermediateDirectory)/ImageAnalyzer.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/matteo/Progetti/QwopBot/ImageAnalyzer.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/ImageAnalyzer.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/ImageAnalyzer.cpp$(DependSuffix): ImageAnalyzer.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/ImageAnalyzer.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/ImageAnalyzer.cpp$(DependSuffix) -MM "ImageAnalyzer.cpp"
$(IntermediateDirectory)/ImageAnalyzer.cpp$(PreprocessSuffix): ImageAnalyzer.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/ImageAnalyzer.cpp$(PreprocessSuffix) "ImageAnalyzer.cpp"
$(IntermediateDirectory)/QwopAnalyzer.cpp$(ObjectSuffix): QwopAnalyzer.cpp $(IntermediateDirectory)/QwopAnalyzer.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/matteo/Progetti/QwopBot/QwopAnalyzer.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/QwopAnalyzer.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/QwopAnalyzer.cpp$(DependSuffix): QwopAnalyzer.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/QwopAnalyzer.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/QwopAnalyzer.cpp$(DependSuffix) -MM "QwopAnalyzer.cpp"
$(IntermediateDirectory)/QwopAnalyzer.cpp$(PreprocessSuffix): QwopAnalyzer.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/QwopAnalyzer.cpp$(PreprocessSuffix) "QwopAnalyzer.cpp"
$(IntermediateDirectory)/KeyPresser.cpp$(ObjectSuffix): KeyPresser.cpp $(IntermediateDirectory)/KeyPresser.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/matteo/Progetti/QwopBot/KeyPresser.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/KeyPresser.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/KeyPresser.cpp$(DependSuffix): KeyPresser.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/KeyPresser.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/KeyPresser.cpp$(DependSuffix) -MM "KeyPresser.cpp"
$(IntermediateDirectory)/KeyPresser.cpp$(PreprocessSuffix): KeyPresser.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/KeyPresser.cpp$(PreprocessSuffix) "KeyPresser.cpp"
$(IntermediateDirectory)/QwopBot.cpp$(ObjectSuffix): QwopBot.cpp $(IntermediateDirectory)/QwopBot.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/matteo/Progetti/QwopBot/QwopBot.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/QwopBot.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/QwopBot.cpp$(DependSuffix): QwopBot.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/QwopBot.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/QwopBot.cpp$(DependSuffix) -MM "QwopBot.cpp"
$(IntermediateDirectory)/QwopBot.cpp$(PreprocessSuffix): QwopBot.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/QwopBot.cpp$(PreprocessSuffix) "QwopBot.cpp"
$(IntermediateDirectory)/DecisionMaker.cpp$(ObjectSuffix): DecisionMaker.cpp $(IntermediateDirectory)/DecisionMaker.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/matteo/Progetti/QwopBot/DecisionMaker.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/DecisionMaker.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/DecisionMaker.cpp$(DependSuffix): DecisionMaker.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/DecisionMaker.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/DecisionMaker.cpp$(DependSuffix) -MM "DecisionMaker.cpp"
$(IntermediateDirectory)/DecisionMaker.cpp$(PreprocessSuffix): DecisionMaker.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/DecisionMaker.cpp$(PreprocessSuffix) "DecisionMaker.cpp"
$(IntermediateDirectory)/StopClock.cpp$(ObjectSuffix): StopClock.cpp $(IntermediateDirectory)/StopClock.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/matteo/Progetti/QwopBot/StopClock.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/StopClock.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/StopClock.cpp$(DependSuffix): StopClock.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/StopClock.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/StopClock.cpp$(DependSuffix) -MM "StopClock.cpp"
$(IntermediateDirectory)/StopClock.cpp$(PreprocessSuffix): StopClock.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/StopClock.cpp$(PreprocessSuffix) "StopClock.cpp"
-include $(IntermediateDirectory)/*$(DependSuffix)
##
## Clean
##
clean:
$(RM) ./Debug/*$(ObjectSuffix)
$(RM) ./Debug/*$(DependSuffix)
$(RM) $(OutputFile)
$(RM) "../.build-debug/QwopBot"