Refactor the Makefile into pieces. This commit inspired by AncientGeek, my hatred...
[freeems-vanilla.git] / .cproject
blob151fdec998f1f39fec0cb3b9ada98c3be0c1768a
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <?fileVersion 4.0.0?>
4 <cproject>
5 <storageModule moduleId="org.eclipse.cdt.core.settings">
6 <cconfiguration id="cdt.managedbuild.config.gnu.exe.release.2143623215">
7 <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.release.2143623215" moduleId="org.eclipse.cdt.core.settings" name="Default">
8 <externalSettings/>
9 <extensions>
10 <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
11 <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
12 <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
13 <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
14 <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
15 <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
16 </extensions>
17 </storageModule>
18 <storageModule moduleId="cdtBuildSystem" version="4.0.0">
19 <configuration artifactName="freeems" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="Builds loadable and runnable binary images." id="cdt.managedbuild.config.gnu.exe.release.2143623215" name="Default" parent="cdt.managedbuild.config.gnu.exe.release">
20 <folderInfo id="cdt.managedbuild.config.gnu.exe.release.2143623215." name="/" resourcePath="">
21 <toolChain id="cdt.managedbuild.toolchain.gnu.exe.release.480297978" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.release">
22 <targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.release.489728134" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.release"/>
23 <builder buildPath="${workspace_loc:/freeems-vanilla/src}" id="cdt.managedbuild.target.gnu.builder.exe.release.965122498" incrementalBuildTarget="s19" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.exe.release"/>
24 <tool id="cdt.managedbuild.tool.gnu.archiver.base.118272721" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
25 <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.1178825241" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release">
26 <option id="gnu.cpp.compiler.exe.release.option.optimization.level.2101010971" name="Optimization Level" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
27 <option id="gnu.cpp.compiler.exe.release.option.debugging.level.208660422" name="Debug Level" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
28 </tool>
29 <tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.release.1657125286" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.release">
30 <option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.exe.release.option.optimization.level.1719275174" name="Optimization Level" superClass="gnu.c.compiler.exe.release.option.optimization.level" valueType="enumerated"/>
31 <option id="gnu.c.compiler.exe.release.option.debugging.level.1907812983" name="Debug Level" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
32 <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1519666920" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
33 </tool>
34 <tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.1237679929" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release">
35 <inputType id="cdt.managedbuild.tool.gnu.c.linker.input.597158017" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
36 <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
37 <additionalInput kind="additionalinput" paths="$(LIBS)"/>
38 </inputType>
39 </tool>
40 <tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.release.720430624" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.release"/>
41 <tool id="cdt.managedbuild.tool.gnu.assembler.exe.release.707635239" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.release">
42 <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1235207987" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
43 </tool>
44 </toolChain>
45 </folderInfo>
46 <sourceEntries>
47 <entry excluding="src/firmware|src/debug|src/assembly|src/preprocessedc|src/output|src/objects" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
48 </sourceEntries>
49 </configuration>
50 </storageModule>
51 <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
52 <storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
53 <storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
54 </cconfiguration>
55 </storageModule>
56 <storageModule moduleId="cdtBuildSystem" version="4.0.0">
57 <project id="freeems.cdt.managedbuild.target.gnu.exe.314826966" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/>
58 </storageModule>
59 <storageModule moduleId="scannerConfiguration">
60 <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
61 <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
62 <buildOutputProvider>
63 <openAction enabled="true" filePath=""/>
64 <parser enabled="true"/>
65 </buildOutputProvider>
66 <scannerInfoProvider id="specsFile">
67 <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
68 <parser enabled="true"/>
69 </scannerInfoProvider>
70 </profile>
71 <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
72 <buildOutputProvider>
73 <openAction enabled="true" filePath=""/>
74 <parser enabled="true"/>
75 </buildOutputProvider>
76 <scannerInfoProvider id="specsFile">
77 <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
78 <parser enabled="true"/>
79 </scannerInfoProvider>
80 </profile>
81 <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
82 <buildOutputProvider>
83 <openAction enabled="true" filePath=""/>
84 <parser enabled="true"/>
85 </buildOutputProvider>
86 <scannerInfoProvider id="specsFile">
87 <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
88 <parser enabled="true"/>
89 </scannerInfoProvider>
90 </profile>
91 <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
92 <buildOutputProvider>
93 <openAction enabled="true" filePath=""/>
94 <parser enabled="true"/>
95 </buildOutputProvider>
96 <scannerInfoProvider id="specsFile">
97 <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
98 <parser enabled="true"/>
99 </scannerInfoProvider>
100 </profile>
101 <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
102 <buildOutputProvider>
103 <openAction enabled="true" filePath=""/>
104 <parser enabled="true"/>
105 </buildOutputProvider>
106 <scannerInfoProvider id="specsFile">
107 <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
108 <parser enabled="true"/>
109 </scannerInfoProvider>
110 </profile>
111 <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
112 <buildOutputProvider>
113 <openAction enabled="true" filePath=""/>
114 <parser enabled="true"/>
115 </buildOutputProvider>
116 <scannerInfoProvider id="specsFile">
117 <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
118 <parser enabled="true"/>
119 </scannerInfoProvider>
120 </profile>
121 <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
122 <buildOutputProvider>
123 <openAction enabled="true" filePath=""/>
124 <parser enabled="true"/>
125 </buildOutputProvider>
126 <scannerInfoProvider id="specsFile">
127 <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
128 <parser enabled="true"/>
129 </scannerInfoProvider>
130 </profile>
131 <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
132 <buildOutputProvider>
133 <openAction enabled="true" filePath=""/>
134 <parser enabled="true"/>
135 </buildOutputProvider>
136 <scannerInfoProvider id="makefileGenerator">
137 <runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
138 <parser enabled="true"/>
139 </scannerInfoProvider>
140 </profile>
141 <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1331550435;cdt.managedbuild.config.gnu.exe.debug.1331550435.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.1324628617;cdt.managedbuild.tool.gnu.c.compiler.input.1627966748">
142 <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
143 <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
144 <buildOutputProvider>
145 <openAction enabled="true" filePath=""/>
146 <parser enabled="true"/>
147 </buildOutputProvider>
148 <scannerInfoProvider id="specsFile">
149 <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
150 <parser enabled="true"/>
151 </scannerInfoProvider>
152 </profile>
153 <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
154 <buildOutputProvider>
155 <openAction enabled="true" filePath=""/>
156 <parser enabled="true"/>
157 </buildOutputProvider>
158 <scannerInfoProvider id="specsFile">
159 <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
160 <parser enabled="true"/>
161 </scannerInfoProvider>
162 </profile>
163 <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
164 <buildOutputProvider>
165 <openAction enabled="true" filePath=""/>
166 <parser enabled="true"/>
167 </buildOutputProvider>
168 <scannerInfoProvider id="specsFile">
169 <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
170 <parser enabled="true"/>
171 </scannerInfoProvider>
172 </profile>
173 <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
174 <buildOutputProvider>
175 <openAction enabled="true" filePath=""/>
176 <parser enabled="true"/>
177 </buildOutputProvider>
178 <scannerInfoProvider id="specsFile">
179 <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
180 <parser enabled="true"/>
181 </scannerInfoProvider>
182 </profile>
183 <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
184 <buildOutputProvider>
185 <openAction enabled="true" filePath=""/>
186 <parser enabled="true"/>
187 </buildOutputProvider>
188 <scannerInfoProvider id="specsFile">
189 <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
190 <parser enabled="true"/>
191 </scannerInfoProvider>
192 </profile>
193 <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
194 <buildOutputProvider>
195 <openAction enabled="true" filePath=""/>
196 <parser enabled="true"/>
197 </buildOutputProvider>
198 <scannerInfoProvider id="specsFile">
199 <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
200 <parser enabled="true"/>
201 </scannerInfoProvider>
202 </profile>
203 <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
204 <buildOutputProvider>
205 <openAction enabled="true" filePath=""/>
206 <parser enabled="true"/>
207 </buildOutputProvider>
208 <scannerInfoProvider id="specsFile">
209 <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
210 <parser enabled="true"/>
211 </scannerInfoProvider>
212 </profile>
213 <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
214 <buildOutputProvider>
215 <openAction enabled="true" filePath=""/>
216 <parser enabled="true"/>
217 </buildOutputProvider>
218 <scannerInfoProvider id="makefileGenerator">
219 <runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
220 <parser enabled="true"/>
221 </scannerInfoProvider>
222 </profile>
223 </scannerConfigBuildInfo>
224 <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1331550435;cdt.managedbuild.config.gnu.exe.debug.1331550435.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.1324628617;cdt.managedbuild.tool.gnu.c.compiler.input.767532194">
225 <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
226 <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
227 <buildOutputProvider>
228 <openAction enabled="true" filePath=""/>
229 <parser enabled="true"/>
230 </buildOutputProvider>
231 <scannerInfoProvider id="specsFile">
232 <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
233 <parser enabled="true"/>
234 </scannerInfoProvider>
235 </profile>
236 <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
237 <buildOutputProvider>
238 <openAction enabled="true" filePath=""/>
239 <parser enabled="true"/>
240 </buildOutputProvider>
241 <scannerInfoProvider id="specsFile">
242 <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
243 <parser enabled="true"/>
244 </scannerInfoProvider>
245 </profile>
246 <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
247 <buildOutputProvider>
248 <openAction enabled="true" filePath=""/>
249 <parser enabled="true"/>
250 </buildOutputProvider>
251 <scannerInfoProvider id="specsFile">
252 <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
253 <parser enabled="true"/>
254 </scannerInfoProvider>
255 </profile>
256 <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
257 <buildOutputProvider>
258 <openAction enabled="true" filePath=""/>
259 <parser enabled="true"/>
260 </buildOutputProvider>
261 <scannerInfoProvider id="specsFile">
262 <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
263 <parser enabled="true"/>
264 </scannerInfoProvider>
265 </profile>
266 <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
267 <buildOutputProvider>
268 <openAction enabled="true" filePath=""/>
269 <parser enabled="true"/>
270 </buildOutputProvider>
271 <scannerInfoProvider id="specsFile">
272 <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
273 <parser enabled="true"/>
274 </scannerInfoProvider>
275 </profile>
276 <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
277 <buildOutputProvider>
278 <openAction enabled="true" filePath=""/>
279 <parser enabled="true"/>
280 </buildOutputProvider>
281 <scannerInfoProvider id="specsFile">
282 <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
283 <parser enabled="true"/>
284 </scannerInfoProvider>
285 </profile>
286 <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
287 <buildOutputProvider>
288 <openAction enabled="true" filePath=""/>
289 <parser enabled="true"/>
290 </buildOutputProvider>
291 <scannerInfoProvider id="specsFile">
292 <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
293 <parser enabled="true"/>
294 </scannerInfoProvider>
295 </profile>
296 <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
297 <buildOutputProvider>
298 <openAction enabled="true" filePath=""/>
299 <parser enabled="true"/>
300 </buildOutputProvider>
301 <scannerInfoProvider id="makefileGenerator">
302 <runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
303 <parser enabled="true"/>
304 </scannerInfoProvider>
305 </profile>
306 </scannerConfigBuildInfo>
307 </storageModule>
308 <storageModule moduleId="refreshScope" versionNumber="1">
309 <resource resourceType="PROJECT" workspacePath="/freeems-vanilla"/>
310 </storageModule>
311 <storageModule moduleId="org.eclipse.cdt.make.core.buildtargets">
312 <buildTargets>
313 <target name="all" path="src" targetID="org.eclipse.cdt.build.MakeTargetBuilder">
314 <buildCommand>make</buildCommand>
315 <buildArguments/>
316 <buildTarget>all</buildTarget>
317 <stopOnError>true</stopOnError>
318 <useDefaultCommand>true</useDefaultCommand>
319 <runAllBuilders>true</runAllBuilders>
320 </target>
321 </buildTargets>
322 </storageModule>
323 </cproject>