~jil26/fabinterpreter/Qt_version

« back to all changes in this revision

Viewing changes to software/FabInterpreter/Makefile.Debug

  • Committer: Jeffrey Lipton
  • Date: 2010-07-10 00:48:14 UTC
  • Revision ID: jil26@cornell.edu-20100710004814-x6y9jkv81x9p8vzy
Set up a Qt version of the FabInterpeter as a seperate branch. this is non functional. PRO file needs to be updated. DLL imports fail

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#############################################################################
 
2
# Makefile for building: Interpreter
 
3
# Generated by qmake (2.01a) (Qt 4.6.2) on: Fri Jul 9 20:29:05 2010
 
4
# Project:  Interpreter.pro
 
5
# Template: app
 
6
#############################################################################
 
7
 
 
8
####### Compiler, tools and options
 
9
 
 
10
CC            = gcc
 
11
CXX           = g++
 
12
DEFINES       = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
 
13
CFLAGS        = -g -Wall $(DEFINES)
 
14
CXXFLAGS      = -g -frtti -fexceptions -mthreads -Wall $(DEFINES)
 
15
INCPATH       = -I"c:\Qt\2010.02.1\qt\include\QtCore" -I"c:\Qt\2010.02.1\qt\include\QtGui" -I"c:\Qt\2010.02.1\qt\include" -I"c:\Qt\2010.02.1\qt\include\ActiveQt" -I"debug" -I"." -I"c:\Qt\2010.02.1\qt\mkspecs\win32-g++"
 
16
LINK        =        g++
 
17
LFLAGS        =        -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows
 
18
LIBS        =        -L"c:\Qt\2010.02.1\qt\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4 
 
19
QMAKE         = c:\qt\2010.02.1\qt\bin\qmake.exe
 
20
IDC           = c:\Qt\2010.02.1\qt\bin\idc.exe
 
21
IDL           = midl
 
22
ZIP           = zip -r -9
 
23
DEF_FILE      = 
 
24
RES_FILE      = 
 
25
COPY          = copy /y
 
26
COPY_FILE     = $(COPY)
 
27
COPY_DIR      = xcopy /s /q /y /i
 
28
DEL_FILE      = del
 
29
DEL_DIR       = rmdir
 
30
MOVE          = move
 
31
CHK_DIR_EXISTS= if not exist
 
32
MKDIR         = mkdir
 
33
INSTALL_FILE    = $(COPY_FILE)
 
34
INSTALL_PROGRAM = $(COPY_FILE)
 
35
INSTALL_DIR     = $(COPY_DIR)
 
36
 
 
37
####### Output directory
 
38
 
 
39
OBJECTS_DIR   = debug
 
40
 
 
41
####### Files
 
42
 
 
43
SOURCES       = main.cpp \
 
44
                mainwindow.cpp \
 
45
                Point.cpp \
 
46
                Path.cpp \
 
47
                Motor.cpp \
 
48
                Model.cpp \
 
49
                MaterialCalibration.cpp \
 
50
                FabAtHomePrinter.cpp \
 
51
                Bay.cpp \
 
52
                Axis.cpp \
 
53
                Tool.cpp \
 
54
                tinyxmlparser.cpp \
 
55
                tinyxmlerror.cpp \
 
56
                tinyxml.cpp \
 
57
                tinystr.cpp debug\moc_mainwindow.cpp
 
58
OBJECTS       = debug/main.o \
 
59
                debug/mainwindow.o \
 
60
                debug/Point.o \
 
61
                debug/Path.o \
 
62
                debug/Motor.o \
 
63
                debug/Model.o \
 
64
                debug/MaterialCalibration.o \
 
65
                debug/FabAtHomePrinter.o \
 
66
                debug/Bay.o \
 
67
                debug/Axis.o \
 
68
                debug/Tool.o \
 
69
                debug/tinyxmlparser.o \
 
70
                debug/tinyxmlerror.o \
 
71
                debug/tinyxml.o \
 
72
                debug/tinystr.o \
 
73
                debug/moc_mainwindow.o
 
74
DIST          = 
 
75
QMAKE_TARGET  = Interpreter
 
76
DESTDIR        = debug\ #avoid trailing-slash linebreak
 
77
TARGET         = Interpreter.exe
 
78
DESTDIR_TARGET = debug\Interpreter.exe
 
79
 
 
80
####### Implicit rules
 
81
 
 
82
.SUFFIXES: .cpp .cc .cxx .c
 
83
 
 
84
.cpp.o:
 
85
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
 
86
 
 
87
.cc.o:
 
88
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
 
89
 
 
90
.cxx.o:
 
91
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
 
92
 
 
93
.c.o:
 
94
        $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
 
95
 
 
96
####### Build rules
 
97
 
 
98
first: all
 
99
all: Makefile.Debug  $(DESTDIR_TARGET)
 
100
 
 
101
$(DESTDIR_TARGET): ui_mainwindow.h $(OBJECTS) 
 
102
        $(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.Interpreter.Debug  $(LIBS)
 
103
 
 
104
 
 
105
qmake:  FORCE
 
106
        @$(QMAKE) -spec c:\Qt\2010.02.1\qt\mkspecs\win32-g++ -win32 -o Makefile.Debug Interpreter.pro
 
107
 
 
108
dist:
 
109
        $(ZIP) Interpreter.zip $(SOURCES) $(DIST) Interpreter.pro c:\Qt\2010.02.1\qt\mkspecs\qconfig.pri c:\Qt\2010.02.1\qt\mkspecs\features\qt_functions.prf c:\Qt\2010.02.1\qt\mkspecs\features\qt_config.prf c:\Qt\2010.02.1\qt\mkspecs\features\exclusive_builds.prf c:\Qt\2010.02.1\qt\mkspecs\features\default_pre.prf c:\Qt\2010.02.1\qt\mkspecs\features\win32\default_pre.prf c:\Qt\2010.02.1\qt\mkspecs\features\debug.prf c:\Qt\2010.02.1\qt\mkspecs\features\debug_and_release.prf c:\Qt\2010.02.1\qt\mkspecs\features\default_post.prf c:\Qt\2010.02.1\qt\mkspecs\features\win32\default_post.prf c:\Qt\2010.02.1\qt\mkspecs\features\build_pass.prf c:\Qt\2010.02.1\qt\mkspecs\features\win32\rtti.prf c:\Qt\2010.02.1\qt\mkspecs\features\win32\exceptions.prf c:\Qt\2010.02.1\qt\mkspecs\features\win32\stl.prf c:\Qt\2010.02.1\qt\mkspecs\features\shared.prf c:\Qt\2010.02.1\qt\mkspecs\features\warn_on.prf c:\Qt\2010.02.1\qt\mkspecs\features\qt.prf c:\Qt\2010.02.1\qt\mkspecs\features\win32\thread.prf c:\Qt\2010.02.1\qt\mkspecs\features\moc.prf c:\Qt\2010.02.1\qt\mkspecs\features\win32\windows.prf c:\Qt\2010.02.1\qt\mkspecs\features\resources.prf c:\Qt\2010.02.1\qt\mkspecs\features\uic.prf c:\Qt\2010.02.1\qt\mkspecs\features\yacc.prf c:\Qt\2010.02.1\qt\mkspecs\features\lex.prf c:\Qt\2010.02.1\qt\mkspecs\features\include_source_dir.prf c:\Qt\2010.02.1\qt\lib\qtmaind.prl  HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES 
 
110
 
 
111
clean: compiler_clean 
 
112
        -$(DEL_FILE) debug\main.o debug\mainwindow.o debug\Point.o debug\Path.o debug\Motor.o debug\Model.o debug\MaterialCalibration.o debug\FabAtHomePrinter.o debug\Bay.o debug\Axis.o debug\Tool.o debug\tinyxmlparser.o debug\tinyxmlerror.o debug\tinyxml.o debug\tinystr.o debug\moc_mainwindow.o
 
113
 
 
114
distclean: clean
 
115
        -$(DEL_FILE) $(DESTDIR_TARGET)
 
116
        -$(DEL_FILE) Makefile.Debug
 
117
 
 
118
mocclean: compiler_moc_header_clean compiler_moc_source_clean
 
119
 
 
120
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
 
121
 
 
122
compiler_moc_header_make_all: debug/moc_mainwindow.cpp
 
123
compiler_moc_header_clean:
 
124
        -$(DEL_FILE) debug\moc_mainwindow.cpp
 
125
debug/moc_mainwindow.cpp: Util.h \
 
126
                tinyxml.h \
 
127
                tinystr.h \
 
128
                FabAtHomePrinter.h \
 
129
                Axis.h \
 
130
                Motor.h \
 
131
                sio_util.h \
 
132
                nmccom.h \
 
133
                picservo.h \
 
134
                util/Util.h \
 
135
                picio.h \
 
136
                picServoPath.h \
 
137
                Model.h \
 
138
                Path.h \
 
139
                Point.h \
 
140
                Tool.h \
 
141
                Bay.h \
 
142
                MaterialCalibration.h \
 
143
                mainwindow.h
 
144
        C:/Qt/2010.02.1/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 mainwindow.h -o debug\moc_mainwindow.cpp
 
145
 
 
146
compiler_rcc_make_all:
 
147
compiler_rcc_clean:
 
148
compiler_image_collection_make_all: qmake_image_collection.cpp
 
149
compiler_image_collection_clean:
 
150
        -$(DEL_FILE) qmake_image_collection.cpp
 
151
compiler_moc_source_make_all:
 
152
compiler_moc_source_clean:
 
153
compiler_uic_make_all: ui_mainwindow.h
 
154
compiler_uic_clean:
 
155
        -$(DEL_FILE) ui_mainwindow.h
 
156
ui_mainwindow.h: mainwindow.ui
 
157
        c:\Qt\2010.02.1\qt\bin\uic.exe mainwindow.ui -o ui_mainwindow.h
 
158
 
 
159
compiler_yacc_decl_make_all:
 
160
compiler_yacc_decl_clean:
 
161
compiler_yacc_impl_make_all:
 
162
compiler_yacc_impl_clean:
 
163
compiler_lex_make_all:
 
164
compiler_lex_clean:
 
165
compiler_clean: compiler_moc_header_clean compiler_uic_clean 
 
166
 
 
167
 
 
168
 
 
169
####### Compile
 
170
 
 
171
debug/main.o: main.cpp mainwindow.h \
 
172
                Util.h \
 
173
                tinyxml.h \
 
174
                tinystr.h \
 
175
                FabAtHomePrinter.h \
 
176
                Axis.h \
 
177
                Motor.h \
 
178
                sio_util.h \
 
179
                nmccom.h \
 
180
                picservo.h \
 
181
                util/Util.h \
 
182
                picio.h \
 
183
                picServoPath.h \
 
184
                Model.h \
 
185
                Path.h \
 
186
                Point.h \
 
187
                Tool.h \
 
188
                Bay.h \
 
189
                MaterialCalibration.h
 
190
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\main.o main.cpp
 
191
 
 
192
debug/mainwindow.o: mainwindow.cpp 
 
193
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\mainwindow.o mainwindow.cpp
 
194
 
 
195
debug/Point.o: Point.cpp Point.h \
 
196
                Util.h \
 
197
                tinyxml.h \
 
198
                tinystr.h
 
199
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\Point.o Point.cpp
 
200
 
 
201
debug/Path.o: Path.cpp Path.h \
 
202
                Util.h \
 
203
                tinyxml.h \
 
204
                tinystr.h \
 
205
                Point.h \
 
206
                Tool.h \
 
207
                Bay.h \
 
208
                Motor.h \
 
209
                sio_util.h \
 
210
                nmccom.h \
 
211
                picservo.h \
 
212
                util/Util.h \
 
213
                picio.h \
 
214
                picServoPath.h \
 
215
                MaterialCalibration.h
 
216
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\Path.o Path.cpp
 
217
 
 
218
debug/Motor.o: Motor.cpp Motor.h \
 
219
                Util.h \
 
220
                tinyxml.h \
 
221
                tinystr.h \
 
222
                sio_util.h \
 
223
                nmccom.h \
 
224
                picservo.h \
 
225
                util/Util.h \
 
226
                picio.h \
 
227
                picServoPath.h
 
228
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\Motor.o Motor.cpp
 
229
 
 
230
debug/Model.o: Model.cpp Model.h \
 
231
                Util.h \
 
232
                tinyxml.h \
 
233
                tinystr.h \
 
234
                Path.h \
 
235
                Point.h \
 
236
                Tool.h \
 
237
                Bay.h \
 
238
                Motor.h \
 
239
                sio_util.h \
 
240
                nmccom.h \
 
241
                picservo.h \
 
242
                util/Util.h \
 
243
                picio.h \
 
244
                picServoPath.h \
 
245
                MaterialCalibration.h
 
246
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\Model.o Model.cpp
 
247
 
 
248
debug/MaterialCalibration.o: MaterialCalibration.cpp MaterialCalibration.h \
 
249
                Util.h \
 
250
                tinyxml.h \
 
251
                tinystr.h
 
252
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\MaterialCalibration.o MaterialCalibration.cpp
 
253
 
 
254
debug/FabAtHomePrinter.o: FabAtHomePrinter.cpp FabAtHomePrinter.h \
 
255
                Axis.h \
 
256
                Motor.h \
 
257
                Util.h \
 
258
                tinyxml.h \
 
259
                tinystr.h \
 
260
                sio_util.h \
 
261
                nmccom.h \
 
262
                picservo.h \
 
263
                util/Util.h \
 
264
                picio.h \
 
265
                picServoPath.h \
 
266
                Model.h \
 
267
                Path.h \
 
268
                Point.h \
 
269
                Tool.h \
 
270
                Bay.h \
 
271
                MaterialCalibration.h
 
272
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\FabAtHomePrinter.o FabAtHomePrinter.cpp
 
273
 
 
274
debug/Bay.o: Bay.cpp Bay.h \
 
275
                Motor.h \
 
276
                Util.h \
 
277
                tinyxml.h \
 
278
                tinystr.h \
 
279
                sio_util.h \
 
280
                nmccom.h \
 
281
                picservo.h \
 
282
                util/Util.h \
 
283
                picio.h \
 
284
                picServoPath.h \
 
285
                Point.h \
 
286
                MaterialCalibration.h
 
287
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\Bay.o Bay.cpp
 
288
 
 
289
debug/Axis.o: Axis.cpp Axis.h \
 
290
                Motor.h \
 
291
                Util.h \
 
292
                tinyxml.h \
 
293
                tinystr.h \
 
294
                sio_util.h \
 
295
                nmccom.h \
 
296
                picservo.h \
 
297
                util/Util.h \
 
298
                picio.h \
 
299
                picServoPath.h
 
300
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\Axis.o Axis.cpp
 
301
 
 
302
debug/Tool.o: Tool.cpp Tool.h \
 
303
                Util.h \
 
304
                tinyxml.h \
 
305
                tinystr.h \
 
306
                Bay.h \
 
307
                Motor.h \
 
308
                sio_util.h \
 
309
                nmccom.h \
 
310
                picservo.h \
 
311
                util/Util.h \
 
312
                picio.h \
 
313
                picServoPath.h \
 
314
                Point.h \
 
315
                MaterialCalibration.h
 
316
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\Tool.o Tool.cpp
 
317
 
 
318
debug/tinyxmlparser.o: tinyxmlparser.cpp tinyxml.h \
 
319
                tinystr.h
 
320
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\tinyxmlparser.o tinyxmlparser.cpp
 
321
 
 
322
debug/tinyxmlerror.o: tinyxmlerror.cpp tinyxml.h \
 
323
                tinystr.h
 
324
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\tinyxmlerror.o tinyxmlerror.cpp
 
325
 
 
326
debug/tinyxml.o: tinyxml.cpp tinyxml.h \
 
327
                tinystr.h
 
328
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\tinyxml.o tinyxml.cpp
 
329
 
 
330
debug/tinystr.o: tinystr.cpp tinystr.h
 
331
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\tinystr.o tinystr.cpp
 
332
 
 
333
debug/moc_mainwindow.o: debug/moc_mainwindow.cpp 
 
334
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_mainwindow.o debug\moc_mainwindow.cpp
 
335
 
 
336
####### Install
 
337
 
 
338
install:   FORCE
 
339
 
 
340
uninstall:   FORCE
 
341
 
 
342
FORCE:
 
343