Subversion Repositories OpenCV2-Cookbook

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 PointedEar 1
#############################################################################
2
# Makefile for building: anotherQtGUI
3
# Generated by qmake (2.01a) (Qt 4.6.3) on: Thu Aug 5 11:10:44 2010
4
# Project:  anotherQtGUI.pro
5
# Template: app
6
#############################################################################
7
 
8
####### Compiler, tools and options
9
 
10
CC            = cl
11
CXX           = cl
12
DEFINES       = -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT
13
CFLAGS        = -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -W3 $(DEFINES)
14
CXXFLAGS      = -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 $(DEFINES)
15
INCPATH       = -I"..\..\Qt\4.6.3\include\QtCore" -I"..\..\Qt\4.6.3\include\QtGui" -I"..\..\Qt\4.6.3\include" -I"..\..\OpenCV2.1\include\opencv" -I"..\..\Qt\4.6.3\include\ActiveQt" -I"debug" -I"." -I"..\..\Qt\4.6.3\mkspecs\win32-msvc2008"
16
LINK          = link
17
LFLAGS        = /LIBPATH:"c:\Qt\4.6.3\lib" /NOLOGO /DEBUG /MANIFEST /MANIFESTFILE:"debug\anotherQtGUI.intermediate.manifest" /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'"
18
LIBS          = c:\Qt\4.6.3\lib\qtmaind.lib /LIBPATH:C:\OpenCV2.1\lib C:\OpenCV2.1\lib\cv210.lib C:\OpenCV2.1\lib\cxcore210.lib C:\OpenCV2.1\lib\highgui210.lib c:\Qt\4.6.3\lib\QtGuid4.lib c:\Qt\4.6.3\lib\QtCored4.lib
19
QMAKE         = c:\Qt\4.6.3\bin\qmake.exe
20
IDC           = c:\Qt\4.6.3\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 debug\moc_mainwindow.cpp
45
OBJECTS       = debug\main.obj \
46
		debug\mainwindow.obj \
47
		debug\moc_mainwindow.obj
48
DIST          =
49
QMAKE_TARGET  = anotherQtGUI
50
DESTDIR        = debug\ #avoid trailing-slash linebreak
51
TARGET         = anotherQtGUI.exe
52
DESTDIR_TARGET = debug\anotherQtGUI.exe
53
 
54
####### Implicit rules
55
 
56
.SUFFIXES: .c .cpp .cc .cxx
57
 
58
{.}.cpp{debug\}.obj::
59
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
60
	$<
61
<<
62
 
63
{.}.cc{debug\}.obj::
64
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
65
	$<
66
<<
67
 
68
{.}.cxx{debug\}.obj::
69
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
70
	$<
71
<<
72
 
73
{.}.c{debug\}.obj::
74
	$(CC) -c $(CFLAGS) $(INCPATH) -Fodebug\ @<<
75
	$<
76
<<
77
 
78
{debug}.cpp{debug\}.obj::
79
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
80
	$<
81
<<
82
 
83
{debug}.cc{debug\}.obj::
84
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
85
	$<
86
<<
87
 
88
{debug}.cxx{debug\}.obj::
89
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
90
	$<
91
<<
92
 
93
{debug}.c{debug\}.obj::
94
	$(CC) -c $(CFLAGS) $(INCPATH) -Fodebug\ @<<
95
	$<
96
<<
97
 
98
####### Build rules
99
 
100
first: all
101
all: Makefile.Debug $(DESTDIR_TARGET)
102
 
103
$(DESTDIR_TARGET): ui_mainwindow.h $(OBJECTS)
104
	$(LINK) $(LFLAGS) /OUT:$(DESTDIR_TARGET) @<<
105
	  $(OBJECTS) $(LIBS)
106
<<
107
	mt.exe -nologo -manifest "debug\anotherQtGUI.intermediate.manifest" -outputresource:$(DESTDIR_TARGET);1
108
 
109
 
110
 
111
qmake:  FORCE
112
	@$(QMAKE) -spec ..\..\Qt\4.6.3\mkspecs\win32-msvc2008 -win32 CONFIG+=release -o Makefile.Debug anotherQtGUI.pro
113
 
114
dist:
115
	$(ZIP) anotherQtGUI.zip $(SOURCES) $(DIST) anotherQtGUI.pro ..\..\Qt\4.6.3\mkspecs\qconfig.pri ..\..\Qt\4.6.3\mkspecs\features\qt_functions.prf ..\..\Qt\4.6.3\mkspecs\features\qt_config.prf ..\..\Qt\4.6.3\mkspecs\features\exclusive_builds.prf ..\..\Qt\4.6.3\mkspecs\features\default_pre.prf ..\..\Qt\4.6.3\mkspecs\features\win32\default_pre.prf ..\..\Qt\4.6.3\mkspecs\features\debug.prf ..\..\Qt\4.6.3\mkspecs\features\debug_and_release.prf ..\..\Qt\4.6.3\mkspecs\features\default_post.prf ..\..\Qt\4.6.3\mkspecs\features\win32\default_post.prf ..\..\Qt\4.6.3\mkspecs\features\build_pass.prf ..\..\Qt\4.6.3\mkspecs\features\win32\rtti.prf ..\..\Qt\4.6.3\mkspecs\features\win32\exceptions.prf ..\..\Qt\4.6.3\mkspecs\features\win32\stl.prf ..\..\Qt\4.6.3\mkspecs\features\shared.prf ..\..\Qt\4.6.3\mkspecs\features\win32\embed_manifest_exe.prf ..\..\Qt\4.6.3\mkspecs\features\win32\embed_manifest_dll.prf ..\..\Qt\4.6.3\mkspecs\features\warn_on.prf ..\..\Qt\4.6.3\mkspecs\features\qt.prf ..\..\Qt\4.6.3\mkspecs\features\win32\thread.prf ..\..\Qt\4.6.3\mkspecs\features\moc.prf ..\..\Qt\4.6.3\mkspecs\features\win32\windows.prf ..\..\Qt\4.6.3\mkspecs\features\resources.prf ..\..\Qt\4.6.3\mkspecs\features\uic.prf ..\..\Qt\4.6.3\mkspecs\features\yacc.prf ..\..\Qt\4.6.3\mkspecs\features\lex.prf ..\..\Qt\4.6.3\mkspecs\features\incredibuild_xge.prf ..\..\Qt\4.6.3\mkspecs\features\include_source_dir.prf c:\Qt\4.6.3\lib\qtmaind.prl  HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES
116
 
117
clean: compiler_clean
118
	-$(DEL_FILE) debug\main.obj debug\mainwindow.obj debug\moc_mainwindow.obj
119
	-$(DEL_FILE) debug\anotherQtGUI.intermediate.manifest debug\anotherQtGUI.exp debug\anotherQtGUI.pdb debug\anotherQtGUI.ilk vc*.pdb vc*.idb
120
 
121
distclean: clean
122
	-$(DEL_FILE) $(DESTDIR_TARGET)
123
	-$(DEL_FILE) Makefile.Debug
124
 
125
check: first
126
 
127
mocclean: compiler_moc_header_clean compiler_moc_source_clean
128
 
129
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
130
 
131
compiler_moc_header_make_all: debug\moc_mainwindow.cpp
132
compiler_moc_header_clean:
133
	-$(DEL_FILE) debug\moc_mainwindow.cpp
134
debug\moc_mainwindow.cpp: mainwindow.h
135
	C:\Qt\4.6.3\bin\moc.exe $(DEFINES) $(INCPATH) -D_MSC_VER=1500 -DWIN32 mainwindow.h -o debug\moc_mainwindow.cpp
136
 
137
compiler_rcc_make_all:
138
compiler_rcc_clean:
139
compiler_image_collection_make_all: qmake_image_collection.cpp
140
compiler_image_collection_clean:
141
	-$(DEL_FILE) qmake_image_collection.cpp
142
compiler_moc_source_make_all:
143
compiler_moc_source_clean:
144
compiler_uic_make_all: ui_mainwindow.h
145
compiler_uic_clean:
146
	-$(DEL_FILE) ui_mainwindow.h
147
ui_mainwindow.h: mainwindow.ui
148
	c:\Qt\4.6.3\bin\uic.exe mainwindow.ui -o ui_mainwindow.h
149
 
150
compiler_yacc_decl_make_all:
151
compiler_yacc_decl_clean:
152
compiler_yacc_impl_make_all:
153
compiler_yacc_impl_clean:
154
compiler_lex_make_all:
155
compiler_lex_clean:
156
compiler_clean: compiler_moc_header_clean compiler_uic_clean
157
 
158
 
159
 
160
####### Compile
161
 
162
debug\main.obj: main.cpp mainwindow.h
163
 
164
debug\mainwindow.obj: mainwindow.cpp mainwindow.h \
165
		ui_mainwindow.h
166
 
167
debug\moc_mainwindow.obj: debug\moc_mainwindow.cpp
168
 
169
####### Install
170
 
171
install:   FORCE
172
 
173
uninstall:   FORCE
174
 
175
FORCE:
176