1 | #############################################################################
|
---|
2 | # Makefile for building: t72
|
---|
3 | # Generated by qmake (2.01a) (Qt 4.4.3) on: Tue Jun 30 09:10:50 2009
|
---|
4 | # Project: t72.pro
|
---|
5 | # Template: app
|
---|
6 | # Command: /usr/local/Trolltech/Qt-4.4.3/bin/qmake -unix -o Makefile t72.pro
|
---|
7 | #############################################################################
|
---|
8 |
|
---|
9 | ####### Compiler, tools and options
|
---|
10 |
|
---|
11 | CC = gcc
|
---|
12 | CXX = g++
|
---|
13 | DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_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/local/Trolltech/Qt-4.4.3/mkspecs/linux-g++ -I. -I/usr/local/Trolltech/Qt-4.4.3/include/QtCore -I/usr/local/Trolltech/Qt-4.4.3/include/QtCore -I/usr/local/Trolltech/Qt-4.4.3/include/QtNetwork -I/usr/local/Trolltech/Qt-4.4.3/include/QtNetwork -I/usr/local/Trolltech/Qt-4.4.3/include/QtGui -I/usr/local/Trolltech/Qt-4.4.3/include/QtGui -I/usr/local/Trolltech/Qt-4.4.3/include -I. -I. -I.
|
---|
17 | LINK = g++
|
---|
18 | LFLAGS = -Wl,-rpath,/usr/local/Trolltech/Qt-4.4.3/lib
|
---|
19 | LIBS = $(SUBLIBS) -L/usr/local/Trolltech/Qt-4.4.3/lib -lQtGui -L/usr/local/Trolltech/Qt-4.4.3/lib -L/usr/X11R6/lib -pthread -lpng -lSM -lICE -pthread -pthread -lXi -lXrender -lXrandr -lfreetype -lfontconfig -lXext -lX11 -lQtNetwork -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lglib-2.0 -lrt -ldl -lpthread
|
---|
20 | AR = ar cqs
|
---|
21 | RANLIB =
|
---|
22 | QMAKE = /usr/local/Trolltech/Qt-4.4.3/bin/qmake
|
---|
23 | TAR = tar -cf
|
---|
24 | COMPRESS = gzip -9f
|
---|
25 | COPY = cp -f
|
---|
26 | SED = sed
|
---|
27 | COPY_FILE = $(COPY)
|
---|
28 | COPY_DIR = $(COPY) -r
|
---|
29 | INSTALL_FILE = install -m 644 -p
|
---|
30 | INSTALL_DIR = $(COPY_DIR)
|
---|
31 | INSTALL_PROGRAM = install -m 755 -p
|
---|
32 | DEL_FILE = rm -f
|
---|
33 | SYMLINK = ln -sf
|
---|
34 | DEL_DIR = rmdir
|
---|
35 | MOVE = mv -f
|
---|
36 | CHK_DIR_EXISTS= test -d
|
---|
37 | MKDIR = mkdir -p
|
---|
38 |
|
---|
39 | ####### Output directory
|
---|
40 |
|
---|
41 | OBJECTS_DIR = ./
|
---|
42 |
|
---|
43 | ####### Files
|
---|
44 |
|
---|
45 | SOURCES = humidity.cpp \
|
---|
46 | main.cpp \
|
---|
47 | tempsens.cpp \
|
---|
48 | tpixel.cpp moc_humidity.cpp \
|
---|
49 | moc_main.cpp \
|
---|
50 | moc_tempsens.cpp \
|
---|
51 | moc_tpixel.cpp
|
---|
52 | OBJECTS = humidity.o \
|
---|
53 | main.o \
|
---|
54 | tempsens.o \
|
---|
55 | tpixel.o \
|
---|
56 | moc_humidity.o \
|
---|
57 | moc_main.o \
|
---|
58 | moc_tempsens.o \
|
---|
59 | moc_tpixel.o
|
---|
60 | DIST = /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/g++.conf \
|
---|
61 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/unix.conf \
|
---|
62 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/linux.conf \
|
---|
63 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/qconfig.pri \
|
---|
64 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt_functions.prf \
|
---|
65 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt_config.prf \
|
---|
66 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/exclusive_builds.prf \
|
---|
67 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/default_pre.prf \
|
---|
68 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/release.prf \
|
---|
69 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/default_post.prf \
|
---|
70 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/warn_on.prf \
|
---|
71 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt.prf \
|
---|
72 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/unix/thread.prf \
|
---|
73 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/moc.prf \
|
---|
74 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/resources.prf \
|
---|
75 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/uic.prf \
|
---|
76 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/yacc.prf \
|
---|
77 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/lex.prf \
|
---|
78 | t72.pro
|
---|
79 | QMAKE_TARGET = t72
|
---|
80 | DESTDIR =
|
---|
81 | TARGET = t72
|
---|
82 |
|
---|
83 | first: all
|
---|
84 | ####### Implicit rules
|
---|
85 |
|
---|
86 | .SUFFIXES: .o .c .cpp .cc .cxx .C
|
---|
87 |
|
---|
88 | .cpp.o:
|
---|
89 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
---|
90 |
|
---|
91 | .cc.o:
|
---|
92 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
---|
93 |
|
---|
94 | .cxx.o:
|
---|
95 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
---|
96 |
|
---|
97 | .C.o:
|
---|
98 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
---|
99 |
|
---|
100 | .c.o:
|
---|
101 | $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
|
---|
102 |
|
---|
103 | ####### Build rules
|
---|
104 |
|
---|
105 | all: Makefile $(TARGET)
|
---|
106 |
|
---|
107 | $(TARGET): $(OBJECTS)
|
---|
108 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
---|
109 |
|
---|
110 | Makefile: t72.pro /usr/local/Trolltech/Qt-4.4.3/mkspecs/linux-g++/qmake.conf /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/g++.conf \
|
---|
111 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/unix.conf \
|
---|
112 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/linux.conf \
|
---|
113 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/qconfig.pri \
|
---|
114 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt_functions.prf \
|
---|
115 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt_config.prf \
|
---|
116 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/exclusive_builds.prf \
|
---|
117 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/default_pre.prf \
|
---|
118 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/release.prf \
|
---|
119 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/default_post.prf \
|
---|
120 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/warn_on.prf \
|
---|
121 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt.prf \
|
---|
122 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/unix/thread.prf \
|
---|
123 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/moc.prf \
|
---|
124 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/resources.prf \
|
---|
125 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/uic.prf \
|
---|
126 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/yacc.prf \
|
---|
127 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/lex.prf \
|
---|
128 | /usr/local/Trolltech/Qt-4.4.3/lib/libQtGui.prl \
|
---|
129 | /usr/local/Trolltech/Qt-4.4.3/lib/libQtCore.prl \
|
---|
130 | /usr/local/Trolltech/Qt-4.4.3/lib/libQtNetwork.prl
|
---|
131 | $(QMAKE) -unix -o Makefile t72.pro
|
---|
132 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/g++.conf:
|
---|
133 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/unix.conf:
|
---|
134 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/linux.conf:
|
---|
135 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/qconfig.pri:
|
---|
136 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt_functions.prf:
|
---|
137 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt_config.prf:
|
---|
138 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/exclusive_builds.prf:
|
---|
139 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/default_pre.prf:
|
---|
140 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/release.prf:
|
---|
141 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/default_post.prf:
|
---|
142 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/warn_on.prf:
|
---|
143 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt.prf:
|
---|
144 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/unix/thread.prf:
|
---|
145 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/moc.prf:
|
---|
146 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/resources.prf:
|
---|
147 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/uic.prf:
|
---|
148 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/yacc.prf:
|
---|
149 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/lex.prf:
|
---|
150 | /usr/local/Trolltech/Qt-4.4.3/lib/libQtGui.prl:
|
---|
151 | /usr/local/Trolltech/Qt-4.4.3/lib/libQtCore.prl:
|
---|
152 | /usr/local/Trolltech/Qt-4.4.3/lib/libQtNetwork.prl:
|
---|
153 | qmake: FORCE
|
---|
154 | @$(QMAKE) -unix -o Makefile t72.pro
|
---|
155 |
|
---|
156 | dist:
|
---|
157 | @$(CHK_DIR_EXISTS) .tmp/t721.0.0 || $(MKDIR) .tmp/t721.0.0
|
---|
158 | $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/t721.0.0/ && $(COPY_FILE) --parents humidity.h main.h tempsens.h tpixel.h .tmp/t721.0.0/ && $(COPY_FILE) --parents humidity.cpp main.cpp tempsens.cpp tpixel.cpp .tmp/t721.0.0/ && (cd `dirname .tmp/t721.0.0` && $(TAR) t721.0.0.tar t721.0.0 && $(COMPRESS) t721.0.0.tar) && $(MOVE) `dirname .tmp/t721.0.0`/t721.0.0.tar.gz . && $(DEL_FILE) -r .tmp/t721.0.0
|
---|
159 |
|
---|
160 |
|
---|
161 | clean:compiler_clean
|
---|
162 | -$(DEL_FILE) $(OBJECTS)
|
---|
163 | -$(DEL_FILE) *~ core *.core
|
---|
164 |
|
---|
165 |
|
---|
166 | ####### Sub-libraries
|
---|
167 |
|
---|
168 | distclean: clean
|
---|
169 | -$(DEL_FILE) $(TARGET)
|
---|
170 | -$(DEL_FILE) Makefile
|
---|
171 |
|
---|
172 |
|
---|
173 | mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
---|
174 |
|
---|
175 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
---|
176 |
|
---|
177 | compiler_moc_header_make_all: moc_humidity.cpp moc_main.cpp moc_tempsens.cpp moc_tpixel.cpp
|
---|
178 | compiler_moc_header_clean:
|
---|
179 | -$(DEL_FILE) moc_humidity.cpp moc_main.cpp moc_tempsens.cpp moc_tpixel.cpp
|
---|
180 | moc_humidity.cpp: humidity.h
|
---|
181 | /usr/local/Trolltech/Qt-4.4.3/bin/moc $(DEFINES) $(INCPATH) humidity.h -o moc_humidity.cpp
|
---|
182 |
|
---|
183 | moc_main.cpp: tpixel.h \
|
---|
184 | tempsens.h \
|
---|
185 | humidity.h \
|
---|
186 | main.h
|
---|
187 | /usr/local/Trolltech/Qt-4.4.3/bin/moc $(DEFINES) $(INCPATH) main.h -o moc_main.cpp
|
---|
188 |
|
---|
189 | moc_tempsens.cpp: tempsens.h
|
---|
190 | /usr/local/Trolltech/Qt-4.4.3/bin/moc $(DEFINES) $(INCPATH) tempsens.h -o moc_tempsens.cpp
|
---|
191 |
|
---|
192 | moc_tpixel.cpp: tpixel.h
|
---|
193 | /usr/local/Trolltech/Qt-4.4.3/bin/moc $(DEFINES) $(INCPATH) tpixel.h -o moc_tpixel.cpp
|
---|
194 |
|
---|
195 | compiler_rcc_make_all:
|
---|
196 | compiler_rcc_clean:
|
---|
197 | compiler_image_collection_make_all: qmake_image_collection.cpp
|
---|
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:
|
---|
203 | compiler_uic_clean:
|
---|
204 | compiler_yacc_decl_make_all:
|
---|
205 | compiler_yacc_decl_clean:
|
---|
206 | compiler_yacc_impl_make_all:
|
---|
207 | compiler_yacc_impl_clean:
|
---|
208 | compiler_lex_make_all:
|
---|
209 | compiler_lex_clean:
|
---|
210 | compiler_clean: compiler_moc_header_clean
|
---|
211 |
|
---|
212 | ####### Compile
|
---|
213 |
|
---|
214 | humidity.o: humidity.cpp humidity.h
|
---|
215 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o humidity.o humidity.cpp
|
---|
216 |
|
---|
217 | main.o: main.cpp main.h \
|
---|
218 | tpixel.h \
|
---|
219 | tempsens.h \
|
---|
220 | humidity.h
|
---|
221 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
|
---|
222 |
|
---|
223 | tempsens.o: tempsens.cpp tempsens.h
|
---|
224 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tempsens.o tempsens.cpp
|
---|
225 |
|
---|
226 | tpixel.o: tpixel.cpp tpixel.h
|
---|
227 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tpixel.o tpixel.cpp
|
---|
228 |
|
---|
229 | moc_humidity.o: moc_humidity.cpp
|
---|
230 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_humidity.o moc_humidity.cpp
|
---|
231 |
|
---|
232 | moc_main.o: moc_main.cpp
|
---|
233 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_main.o moc_main.cpp
|
---|
234 |
|
---|
235 | moc_tempsens.o: moc_tempsens.cpp
|
---|
236 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tempsens.o moc_tempsens.cpp
|
---|
237 |
|
---|
238 | moc_tpixel.o: moc_tpixel.cpp
|
---|
239 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tpixel.o moc_tpixel.cpp
|
---|
240 |
|
---|
241 | ####### Install
|
---|
242 |
|
---|
243 | install: FORCE
|
---|
244 |
|
---|
245 | uninstall: FORCE
|
---|
246 |
|
---|
247 | FORCE:
|
---|
248 |
|
---|