-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
syn2midi.mk
176 lines (141 loc) · 12.9 KB
/
syn2midi.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
167
168
169
170
171
172
173
174
175
176
##
## Auto Generated makefile by CodeLite IDE
## any manual changes will be erased
##
## Release
ProjectName :=syn2midi
ConfigurationName :=Release
WorkspacePath :=C:/Data/Workspace/Workspace
ProjectPath :=C:/Data/Workspace/Workspace/syn2midi
IntermediateDirectory :=./Release
OutDir := $(IntermediateDirectory)
CurrentFileName :=
CurrentFilePath :=
CurrentFileFullPath :=
User :=Vasya Pupkin
Date :=12/01/2020
CodeLitePath :="C:/Program Files/CodeLite"
LinkerName :=C:/mingw32/bin/g++.exe
SharedObjectLinkerName :=C:/mingw32/bin/g++.exe -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)/../bin/$(ProjectName)
Preprocessors :=$(PreprocessorSwitch)NDEBUG
ObjectSwitch :=-o
ArchiveOutputSwitch :=
PreprocessOnlySwitch :=-E
ObjectsFileList :="syn2midi.txt"
PCHCompileFlags :=
MakeDirCommand :=makedir
RcCmpOptions :=
RcCompilerName :=C:/mingw32/bin/windres.exe
LinkOptions :=
IncludePath := $(IncludeSwitch). $(IncludeSwitch). $(IncludeSwitch)ffmpeg\ffmpeg-dev\include $(IncludeSwitch)midifile-master\include
IncludePCH :=
RcIncludePath :=
Libs := $(LibrarySwitch)avcodec $(LibrarySwitch)avformat $(LibrarySwitch)avutil $(LibrarySwitch)swscale $(LibrarySwitch)gdi32
ArLibs := "avcodec" "avformat" "avutil" "swscale" "gdi32"
LibPath := $(LibraryPathSwitch). $(LibraryPathSwitch)ffmpeg\ffmpeg-dev\lib
##
## Common variables
## AR, CXX, CC, AS, CXXFLAGS and CFLAGS can be overriden using an environment variables
##
AR := C:/mingw32/bin/ar.exe rcu
CXX := C:/mingw32/bin/g++.exe
CC := C:/mingw32/bin/gcc.exe
CXXFLAGS := -O2 -Wall $(Preprocessors)
CFLAGS := -O2 -Wall $(Preprocessors)
ASFLAGS :=
AS := C:/mingw32/bin/as.exe
##
## User defined environment variables
##
CodeLiteDir:=C:\Program Files\CodeLite
Objects0=$(IntermediateDirectory)/report.cpp$(ObjectSuffix) $(IntermediateDirectory)/main.cpp$(ObjectSuffix) $(IntermediateDirectory)/midi.cpp$(ObjectSuffix) $(IntermediateDirectory)/midifile-master_src-library_Binasc.cpp$(ObjectSuffix) $(IntermediateDirectory)/midifile-master_src-library_MidiEvent.cpp$(ObjectSuffix) $(IntermediateDirectory)/midifile-master_src-library_MidiEventList.cpp$(ObjectSuffix) $(IntermediateDirectory)/midifile-master_src-library_MidiFile.cpp$(ObjectSuffix) $(IntermediateDirectory)/midifile-master_src-library_MidiMessage.cpp$(ObjectSuffix) $(IntermediateDirectory)/midifile-master_src-library_Options.cpp$(ObjectSuffix)
Objects=$(Objects0)
##
## Main Build Targets
##
.PHONY: all clean PreBuild PrePreBuild PostBuild MakeIntermediateDirs
all: $(OutputFile)
$(OutputFile): $(IntermediateDirectory)/.d $(Objects)
@$(MakeDirCommand) $(@D)
@echo "" > $(IntermediateDirectory)/.d
@echo $(Objects0) > $(ObjectsFileList)
$(LinkerName) $(OutputSwitch)$(OutputFile) @$(ObjectsFileList) $(LibPath) $(Libs) $(LinkOptions)
MakeIntermediateDirs:
@$(MakeDirCommand) "./Release"
$(IntermediateDirectory)/.d:
@$(MakeDirCommand) "./Release"
PreBuild:
##
## Objects
##
$(IntermediateDirectory)/report.cpp$(ObjectSuffix): report.cpp $(IntermediateDirectory)/report.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "C:/Data/Workspace/Workspace/syn2midi/report.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/report.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/report.cpp$(DependSuffix): report.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/report.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/report.cpp$(DependSuffix) -MM report.cpp
$(IntermediateDirectory)/report.cpp$(PreprocessSuffix): report.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/report.cpp$(PreprocessSuffix)report.cpp
$(IntermediateDirectory)/main.cpp$(ObjectSuffix): main.cpp $(IntermediateDirectory)/main.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "C:/Data/Workspace/Workspace/syn2midi/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)/midi.cpp$(ObjectSuffix): midi.cpp $(IntermediateDirectory)/midi.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "C:/Data/Workspace/Workspace/syn2midi/midi.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/midi.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/midi.cpp$(DependSuffix): midi.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/midi.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/midi.cpp$(DependSuffix) -MM midi.cpp
$(IntermediateDirectory)/midi.cpp$(PreprocessSuffix): midi.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/midi.cpp$(PreprocessSuffix)midi.cpp
$(IntermediateDirectory)/midifile-master_src-library_Binasc.cpp$(ObjectSuffix): midifile-master/src-library/Binasc.cpp $(IntermediateDirectory)/midifile-master_src-library_Binasc.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "C:/Data/Workspace/Workspace/syn2midi/midifile-master/src-library/Binasc.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/midifile-master_src-library_Binasc.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/midifile-master_src-library_Binasc.cpp$(DependSuffix): midifile-master/src-library/Binasc.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/midifile-master_src-library_Binasc.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/midifile-master_src-library_Binasc.cpp$(DependSuffix) -MM midifile-master/src-library/Binasc.cpp
$(IntermediateDirectory)/midifile-master_src-library_Binasc.cpp$(PreprocessSuffix): midifile-master/src-library/Binasc.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/midifile-master_src-library_Binasc.cpp$(PreprocessSuffix)midifile-master/src-library/Binasc.cpp
$(IntermediateDirectory)/midifile-master_src-library_MidiEvent.cpp$(ObjectSuffix): midifile-master/src-library/MidiEvent.cpp $(IntermediateDirectory)/midifile-master_src-library_MidiEvent.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "C:/Data/Workspace/Workspace/syn2midi/midifile-master/src-library/MidiEvent.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/midifile-master_src-library_MidiEvent.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/midifile-master_src-library_MidiEvent.cpp$(DependSuffix): midifile-master/src-library/MidiEvent.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/midifile-master_src-library_MidiEvent.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/midifile-master_src-library_MidiEvent.cpp$(DependSuffix) -MM midifile-master/src-library/MidiEvent.cpp
$(IntermediateDirectory)/midifile-master_src-library_MidiEvent.cpp$(PreprocessSuffix): midifile-master/src-library/MidiEvent.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/midifile-master_src-library_MidiEvent.cpp$(PreprocessSuffix)midifile-master/src-library/MidiEvent.cpp
$(IntermediateDirectory)/midifile-master_src-library_MidiEventList.cpp$(ObjectSuffix): midifile-master/src-library/MidiEventList.cpp $(IntermediateDirectory)/midifile-master_src-library_MidiEventList.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "C:/Data/Workspace/Workspace/syn2midi/midifile-master/src-library/MidiEventList.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/midifile-master_src-library_MidiEventList.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/midifile-master_src-library_MidiEventList.cpp$(DependSuffix): midifile-master/src-library/MidiEventList.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/midifile-master_src-library_MidiEventList.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/midifile-master_src-library_MidiEventList.cpp$(DependSuffix) -MM midifile-master/src-library/MidiEventList.cpp
$(IntermediateDirectory)/midifile-master_src-library_MidiEventList.cpp$(PreprocessSuffix): midifile-master/src-library/MidiEventList.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/midifile-master_src-library_MidiEventList.cpp$(PreprocessSuffix)midifile-master/src-library/MidiEventList.cpp
$(IntermediateDirectory)/midifile-master_src-library_MidiFile.cpp$(ObjectSuffix): midifile-master/src-library/MidiFile.cpp $(IntermediateDirectory)/midifile-master_src-library_MidiFile.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "C:/Data/Workspace/Workspace/syn2midi/midifile-master/src-library/MidiFile.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/midifile-master_src-library_MidiFile.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/midifile-master_src-library_MidiFile.cpp$(DependSuffix): midifile-master/src-library/MidiFile.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/midifile-master_src-library_MidiFile.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/midifile-master_src-library_MidiFile.cpp$(DependSuffix) -MM midifile-master/src-library/MidiFile.cpp
$(IntermediateDirectory)/midifile-master_src-library_MidiFile.cpp$(PreprocessSuffix): midifile-master/src-library/MidiFile.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/midifile-master_src-library_MidiFile.cpp$(PreprocessSuffix)midifile-master/src-library/MidiFile.cpp
$(IntermediateDirectory)/midifile-master_src-library_MidiMessage.cpp$(ObjectSuffix): midifile-master/src-library/MidiMessage.cpp $(IntermediateDirectory)/midifile-master_src-library_MidiMessage.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "C:/Data/Workspace/Workspace/syn2midi/midifile-master/src-library/MidiMessage.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/midifile-master_src-library_MidiMessage.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/midifile-master_src-library_MidiMessage.cpp$(DependSuffix): midifile-master/src-library/MidiMessage.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/midifile-master_src-library_MidiMessage.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/midifile-master_src-library_MidiMessage.cpp$(DependSuffix) -MM midifile-master/src-library/MidiMessage.cpp
$(IntermediateDirectory)/midifile-master_src-library_MidiMessage.cpp$(PreprocessSuffix): midifile-master/src-library/MidiMessage.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/midifile-master_src-library_MidiMessage.cpp$(PreprocessSuffix)midifile-master/src-library/MidiMessage.cpp
$(IntermediateDirectory)/midifile-master_src-library_Options.cpp$(ObjectSuffix): midifile-master/src-library/Options.cpp $(IntermediateDirectory)/midifile-master_src-library_Options.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "C:/Data/Workspace/Workspace/syn2midi/midifile-master/src-library/Options.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/midifile-master_src-library_Options.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/midifile-master_src-library_Options.cpp$(DependSuffix): midifile-master/src-library/Options.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/midifile-master_src-library_Options.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/midifile-master_src-library_Options.cpp$(DependSuffix) -MM midifile-master/src-library/Options.cpp
$(IntermediateDirectory)/midifile-master_src-library_Options.cpp$(PreprocessSuffix): midifile-master/src-library/Options.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/midifile-master_src-library_Options.cpp$(PreprocessSuffix)midifile-master/src-library/Options.cpp
-include $(IntermediateDirectory)/*$(DependSuffix)
##
## Clean
##
clean:
$(RM) -r ./Release/