-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.Debug
More file actions
448 lines (390 loc) · 12.9 KB
/
Makefile.Debug
File metadata and controls
448 lines (390 loc) · 12.9 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
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
#############################################################################
# Makefile for building: EsqueletP1
# Generated by qmake (2.01a) (Qt 4.8.0) on: vie 23. nov 22:12:35 2012
# Project: EsqueletP1.pro
# Template: app
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
CFLAGS = -g -Wall $(DEFINES)
CXXFLAGS = -g -frtti -fexceptions -mthreads -Wall $(DEFINES)
INCPATH = -I"c:\QtSDK\Desktop\Qt\4.8.0\mingw\include\QtCore" -I"c:\QtSDK\Desktop\Qt\4.8.0\mingw\include\QtGui" -I"c:\QtSDK\Desktop\Qt\4.8.0\mingw\include\QtOpenGL" -I"c:\QtSDK\Desktop\Qt\4.8.0\mingw\include" -I"." -I"c:\QtSDK\Desktop\Qt\4.8.0\mingw\include\ActiveQt" -I"debug" -I"." -I"c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\win32-g++"
LINK = g++
LFLAGS = -mthreads -Wl,-subsystem,windows
LIBS = -L"c:\QtSDK\Desktop\Qt\4.8.0\mingw\lib" -lglu32 -lopengl32 -lgdi32 -luser32 -lmingw32 -lqtmaind -lQtOpenGLd4 -lQtGuid4 -lQtCored4
QMAKE = c:\qtsdk\desktop\qt\4.8.0\mingw\bin\qmake.exe
IDC = c:\QtSDK\Desktop\Qt\4.8.0\mingw\bin\idc.exe
IDL = midl
ZIP = zip -r -9
DEF_FILE =
RES_FILE =
COPY = copy /y
COPY_FILE = $(COPY)
COPY_DIR = xcopy /s /q /y /i
DEL_FILE = del
DEL_DIR = rmdir
MOVE = move
CHK_DIR_EXISTS= if not exist
MKDIR = mkdir
INSTALL_FILE = $(COPY_FILE)
INSTALL_PROGRAM = $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
####### Output directory
OBJECTS_DIR = debug
####### Files
SOURCES = box.cpp \
cameraFirst.cpp \
cameraIDI.cpp \
color.cpp \
face.cpp \
glwidget.cpp \
ground.cpp \
lights.cpp \
main.cpp \
material.cpp \
material_lib.cpp \
model.cpp \
objectInstance.cpp \
point.cpp \
principal.cpp \
scene.cpp \
tinystr.cpp \
tinyxml.cpp \
tinyxmlerror.cpp \
tinyxmlparser.cpp \
vertex.cpp \
XML.cpp debug\moc_glwidget.cpp \
debug\moc_principal.cpp
OBJECTS = debug/box.o \
debug/cameraFirst.o \
debug/cameraIDI.o \
debug/color.o \
debug/face.o \
debug/glwidget.o \
debug/ground.o \
debug/lights.o \
debug/main.o \
debug/material.o \
debug/material_lib.o \
debug/model.o \
debug/objectInstance.o \
debug/point.o \
debug/principal.o \
debug/scene.o \
debug/tinystr.o \
debug/tinyxml.o \
debug/tinyxmlerror.o \
debug/tinyxmlparser.o \
debug/vertex.o \
debug/XML.o \
debug/moc_glwidget.o \
debug/moc_principal.o
DIST =
QMAKE_TARGET = EsqueletP1
DESTDIR = debug\ #avoid trailing-slash linebreak
TARGET = EsqueletP1.exe
DESTDIR_TARGET = debug\EsqueletP1.exe
####### Implicit rules
.SUFFIXES: .cpp .cc .cxx .c
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cc.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
####### Build rules
first: all
all: Makefile.Debug $(DESTDIR_TARGET)
$(DESTDIR_TARGET): ui_principal.h $(OBJECTS)
$(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.EsqueletP1.Debug $(LIBS)
qmake: FORCE
@$(QMAKE) -spec c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\win32-g++ CONFIG+=declarative_debug -o Makefile.Debug EsqueletP1.pro
dist:
$(ZIP) EsqueletP1.zip $(SOURCES) $(DIST) EsqueletP1.pro c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\qconfig.pri c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\modules\qt_webkit_version.pri c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\qt_functions.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\qt_config.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\exclusive_builds.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\default_pre.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\win32\default_pre.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\debug.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\debug_and_release.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\default_post.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\win32\default_post.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\build_pass.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\declarative_debug.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\win32\rtti.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\win32\exceptions.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\win32\stl.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\shared.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\warn_on.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\qt.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\win32\opengl.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\win32\thread.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\moc.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\win32\windows.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\resources.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\uic.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\yacc.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\lex.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\mkspecs\features\include_source_dir.prf c:\QtSDK\Desktop\Qt\4.8.0\mingw\lib\qtmaind.prl HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES
clean: compiler_clean
-$(DEL_FILE) debug\box.o debug\cameraFirst.o debug\cameraIDI.o debug\color.o debug\face.o debug\glwidget.o debug\ground.o debug\lights.o debug\main.o debug\material.o debug\material_lib.o debug\model.o debug\objectInstance.o debug\point.o debug\principal.o debug\scene.o debug\tinystr.o debug\tinyxml.o debug\tinyxmlerror.o debug\tinyxmlparser.o debug\vertex.o debug\XML.o debug\moc_glwidget.o debug\moc_principal.o
distclean: clean
-$(DEL_FILE) $(DESTDIR_TARGET)
-$(DEL_FILE) Makefile.Debug
check: first
mocclean: compiler_moc_header_clean compiler_moc_source_clean
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
compiler_moc_header_make_all: debug/moc_glwidget.cpp debug/moc_principal.cpp
compiler_moc_header_clean:
-$(DEL_FILE) debug\moc_glwidget.cpp debug\moc_principal.cpp
debug/moc_glwidget.cpp: material_lib.h \
material.h \
color.h \
point.h \
scene.h \
model.h \
vertex.h \
box.h \
face.h \
ground.h \
cameraIDI.h \
objectInstance.h \
lights.h \
cameraFirst.h \
glwidget.h
C:\QtSDK\Desktop\Qt\4.8.0\mingw\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 glwidget.h -o debug\moc_glwidget.cpp
debug/moc_principal.cpp: ui_principal.h \
glwidget.h \
material_lib.h \
material.h \
color.h \
point.h \
scene.h \
model.h \
vertex.h \
box.h \
face.h \
ground.h \
cameraIDI.h \
objectInstance.h \
lights.h \
cameraFirst.h \
principal.h
C:\QtSDK\Desktop\Qt\4.8.0\mingw\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 principal.h -o debug\moc_principal.cpp
compiler_rcc_make_all:
compiler_rcc_clean:
compiler_image_collection_make_all: qmake_image_collection.cpp
compiler_image_collection_clean:
-$(DEL_FILE) qmake_image_collection.cpp
compiler_moc_source_make_all:
compiler_moc_source_clean:
compiler_uic_make_all: ui_principal.h
compiler_uic_clean:
-$(DEL_FILE) ui_principal.h
ui_principal.h: principal.ui \
glwidget.h \
glwidget.h \
material_lib.h \
material.h \
color.h \
point.h \
scene.h \
model.h \
vertex.h \
box.h \
face.h \
ground.h \
cameraIDI.h \
objectInstance.h \
lights.h \
cameraFirst.h \
material_lib.h \
material.h \
color.h \
point.h \
scene.h \
model.h \
vertex.h \
box.h \
face.h \
ground.h \
cameraIDI.h \
objectInstance.h \
lights.h \
cameraFirst.h
c:\QtSDK\Desktop\Qt\4.8.0\mingw\bin\uic.exe principal.ui -o ui_principal.h
compiler_yacc_decl_make_all:
compiler_yacc_decl_clean:
compiler_yacc_impl_make_all:
compiler_yacc_impl_clean:
compiler_lex_make_all:
compiler_lex_clean:
compiler_clean: compiler_moc_header_clean compiler_uic_clean
####### Compile
debug/box.o: box.cpp box.h \
point.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\box.o box.cpp
debug/cameraFirst.o: cameraFirst.cpp cameraFirst.h \
point.h \
scene.h \
model.h \
vertex.h \
box.h \
face.h \
material_lib.h \
material.h \
color.h \
ground.h \
cameraIDI.h \
objectInstance.h \
lights.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\cameraFirst.o cameraFirst.cpp
debug/cameraIDI.o: cameraIDI.cpp cameraIDI.h \
point.h \
scene.h \
model.h \
vertex.h \
box.h \
face.h \
material_lib.h \
material.h \
color.h \
ground.h \
objectInstance.h \
lights.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\cameraIDI.o cameraIDI.cpp
debug/color.o: color.cpp color.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\color.o color.cpp
debug/face.o: face.cpp face.h \
vertex.h \
point.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\face.o face.cpp
debug/glwidget.o: glwidget.cpp glwidget.h \
material_lib.h \
material.h \
color.h \
point.h \
scene.h \
model.h \
vertex.h \
box.h \
face.h \
ground.h \
cameraIDI.h \
objectInstance.h \
lights.h \
cameraFirst.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\glwidget.o glwidget.cpp
debug/ground.o: ground.cpp ground.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\ground.o ground.cpp
debug/lights.o: lights.cpp lights.h \
point.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\lights.o lights.cpp
debug/main.o: main.cpp principal.h \
ui_principal.h \
glwidget.h \
material_lib.h \
material.h \
color.h \
point.h \
scene.h \
model.h \
vertex.h \
box.h \
face.h \
ground.h \
cameraIDI.h \
objectInstance.h \
lights.h \
cameraFirst.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\main.o main.cpp
debug/material.o: material.cpp material.h \
color.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\material.o material.cpp
debug/material_lib.o: material_lib.cpp material_lib.h \
material.h \
color.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\material_lib.o material_lib.cpp
debug/model.o: model.cpp model.h \
vertex.h \
point.h \
box.h \
face.h \
material_lib.h \
material.h \
color.h \
scene.h \
ground.h \
cameraIDI.h \
objectInstance.h \
lights.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\model.o model.cpp
debug/objectInstance.o: objectInstance.cpp objectInstance.h \
point.h \
model.h \
vertex.h \
box.h \
face.h \
material_lib.h \
material.h \
color.h \
cameraIDI.h \
scene.h \
ground.h \
lights.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\objectInstance.o objectInstance.cpp
debug/point.o: point.cpp point.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\point.o point.cpp
debug/principal.o: principal.cpp principal.h \
ui_principal.h \
glwidget.h \
material_lib.h \
material.h \
color.h \
point.h \
scene.h \
model.h \
vertex.h \
box.h \
face.h \
ground.h \
cameraIDI.h \
objectInstance.h \
lights.h \
cameraFirst.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\principal.o principal.cpp
debug/scene.o: scene.cpp scene.h \
model.h \
vertex.h \
point.h \
box.h \
face.h \
material_lib.h \
material.h \
color.h \
ground.h \
cameraIDI.h \
objectInstance.h \
lights.h \
XML.h \
tinyxml.h \
tinystr.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\scene.o scene.cpp
debug/tinystr.o: tinystr.cpp tinystr.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\tinystr.o tinystr.cpp
debug/tinyxml.o: tinyxml.cpp tinyxml.h \
tinystr.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\tinyxml.o tinyxml.cpp
debug/tinyxmlerror.o: tinyxmlerror.cpp tinyxml.h \
tinystr.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\tinyxmlerror.o tinyxmlerror.cpp
debug/tinyxmlparser.o: tinyxmlparser.cpp tinyxml.h \
tinystr.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\tinyxmlparser.o tinyxmlparser.cpp
debug/vertex.o: vertex.cpp vertex.h \
point.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\vertex.o vertex.cpp
debug/XML.o: XML.cpp XML.h \
tinyxml.h \
tinystr.h \
scene.h \
model.h \
vertex.h \
point.h \
box.h \
face.h \
material_lib.h \
material.h \
color.h \
ground.h \
cameraIDI.h \
objectInstance.h \
lights.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\XML.o XML.cpp
debug/moc_glwidget.o: debug/moc_glwidget.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_glwidget.o debug\moc_glwidget.cpp
debug/moc_principal.o: debug/moc_principal.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_principal.o debug\moc_principal.cpp
####### Install
install: FORCE
uninstall: FORCE
FORCE: