Rev 3 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3 | Rev 5 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ############################################################################# |
1 | ############################################################################# |
2 | # Makefile for building: anotherQtGUI |
2 | # Makefile for building: anotherQtGUI |
3 | # Generated by qmake (2.01a) (Qt 4.6.3) on: Thu Aug 5 11:10:44 2010 |
3 | # Generated by qmake (2.01a) (Qt 4.8.6) on: Sa. Jan 25 06:37:10 2014 |
4 | # Project: anotherQtGUI.pro |
4 | # Project: anotherQtGUI.pro |
5 | # Template: app |
5 | # Template: app |
6 | # Command: c:\Qt\4.6.3\bin\qmake.exe -spec ..\..\Qt\4.6.3\mkspecs\win32-msvc2008 -win32 CONFIG+=release -o Makefile anotherQtGUI.pro |
6 | # Command: /usr/lib/i386-linux-gnu/qt4/bin/qmake -o Makefile anotherQtGUI.pro |
7 | ############################################################################# |
7 | ############################################################################# |
8 | 8 | ||
- | 9 | ####### Compiler, tools and options |
|
- | 10 | ||
- | 11 | CC = gcc |
|
9 | first: release |
12 | CXX = g++ |
- | 13 | DEFINES = -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED |
|
- | 14 | CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) |
|
- | 15 | CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) |
|
- | 16 | INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -IC:\OpenCV2.2\include -I. -I. |
|
- | 17 | LINK = g++ |
|
10 | install: release-install |
18 | LFLAGS = -Wl,-O1 |
- | 19 | LIBS = $(SUBLIBS) -L/usr/lib/i386-linux-gnu -LC:\OpenCV2.2\lib -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_features2d -lopencv_calib3d -lQtGui -lQtCore -lpthread |
|
11 | uninstall: release-uninstall |
20 | AR = ar cqs |
12 | MAKEFILE = Makefile |
21 | RANLIB = |
13 | QMAKE = c:\Qt\4.6.3\bin\qmake.exe |
22 | QMAKE = /usr/lib/i386-linux-gnu/qt4/bin/qmake |
14 | DEL_FILE = del |
23 | TAR = tar -cf |
15 | CHK_DIR_EXISTS= if not exist |
24 | COMPRESS = gzip -9f |
16 | MKDIR = mkdir |
25 | COPY = cp -f |
17 | COPY = copy /y |
26 | SED = sed |
18 | COPY_FILE = $(COPY) |
27 | COPY_FILE = $(COPY) |
19 | COPY_DIR = xcopy /s /q /y /i |
28 | COPY_DIR = $(COPY) -r |
20 | INSTALL_FILE = $(COPY_FILE) |
29 | STRIP = strip |
21 | INSTALL_PROGRAM = $(COPY_FILE) |
30 | INSTALL_FILE = install -m 644 -p |
22 | INSTALL_DIR = $(COPY_DIR) |
31 | INSTALL_DIR = $(COPY_DIR) |
- | 32 | INSTALL_PROGRAM = install -m 755 -p |
|
23 | DEL_FILE = del |
33 | DEL_FILE = rm -f |
24 | SYMLINK = |
34 | SYMLINK = ln -f -s |
25 | DEL_DIR = rmdir |
35 | DEL_DIR = rmdir |
135 | -$(DEL_FILE) Makefile |
180 | -$(DEL_FILE) Makefile |
136 | 181 | ||
- | 182 | ||
137 | check: first |
183 | check: first |
138 | 184 | ||
- | 185 | mocclean: compiler_moc_header_clean compiler_moc_source_clean |
|
- | 186 | ||
- | 187 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all |
|
- | 188 | ||
- | 189 | compiler_moc_header_make_all: moc_mainwindow.cpp |
|
139 | release-mocclean: $(MAKEFILE).Release |
190 | compiler_moc_header_clean: |
140 | $(MAKE) -f $(MAKEFILE).Release mocclean |
191 | -$(DEL_FILE) moc_mainwindow.cpp |
- | 192 | moc_mainwindow.cpp: mainwindow.h |
|
- | 193 | /usr/lib/i386-linux-gnu/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp |
|
- | 194 | ||
- | 195 | compiler_rcc_make_all: |
|
- | 196 | compiler_rcc_clean: |
|
- | 197 | compiler_image_collection_make_all: qmake_image_collection.cpp |
|
141 | debug-mocclean: $(MAKEFILE).Debug |
198 | compiler_image_collection_clean: |
- | 199 | -$(DEL_FILE) qmake_image_collection.cpp |
|
- | 200 | compiler_moc_source_make_all: |
|
- | 201 | compiler_moc_source_clean: |
|
- | 202 | compiler_uic_make_all: ui_mainwindow.h |
|
- | 203 | compiler_uic_clean: |
|
142 | $(MAKE) -f $(MAKEFILE).Debug mocclean |
204 | -$(DEL_FILE) ui_mainwindow.h |
- | 205 | ui_mainwindow.h: mainwindow.ui |
|
- | 206 | /usr/lib/i386-linux-gnu/qt4/bin/uic mainwindow.ui -o ui_mainwindow.h |
|
- | 207 | ||
- | 208 | compiler_yacc_decl_make_all: |
|
- | 209 | compiler_yacc_decl_clean: |
|
- | 210 | compiler_yacc_impl_make_all: |
|
- | 211 | compiler_yacc_impl_clean: |
|
- | 212 | compiler_lex_make_all: |
|
- | 213 | compiler_lex_clean: |
|
143 | mocclean: release-mocclean debug-mocclean |
214 | compiler_clean: compiler_moc_header_clean compiler_uic_clean |
- | 215 | ||
- | 216 | ####### Compile |
|
144 | 217 | ||
145 | release-mocables: $(MAKEFILE).Release |
218 | main.o: main.cpp mainwindow.h |
146 | $(MAKE) -f $(MAKEFILE).Release mocables |
219 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp |
- | 220 | ||
147 | debug-mocables: $(MAKEFILE).Debug |
221 | mainwindow.o: mainwindow.cpp mainwindow.h \ |
- | 222 | ui_mainwindow.h |
|
148 | $(MAKE) -f $(MAKEFILE).Debug mocables |
223 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp |
- | 224 | ||
149 | mocables: release-mocables debug-mocables |
225 | moc_mainwindow.o: moc_mainwindow.cpp |
- | 226 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp |
|
- | 227 | ||
- | 228 | ####### Install |
|
- | 229 | ||
- | 230 | install: FORCE |
|
- | 231 | ||
- | 232 | uninstall: FORCE |
|
- | 233 | ||
150 | FORCE: |
234 | FORCE: |
151 | 235 | ||
152 | $(MAKEFILE).Release: Makefile |
- | |
153 | $(MAKEFILE).Debug: Makefile |
- |