############################################################################# # Makefile for building: build/qthelloworld # Generated by qmake (2.01a) (Qt 4.5.3) on: Sat May 15 19:08:04 2010 # Project: helloworld.pro # Template: app # Command: /usr/bin/qmake -unix -o Makefile helloworld.pro ############################################################################# ####### Compiler, tools and options CC = gcc CXX = g++ DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED CFLAGS = -pipe -O3 -g -D_REENTRANT -Wall -W $(DEFINES) CXXFLAGS = -pipe -O3 -g -D_REENTRANT -Wall -W $(DEFINES) INCPATH = -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-gles2 -I. -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/qt4 -Isrc/.tmp LINK = g++ LFLAGS = -Wl,-O1 LIBS = $(SUBLIBS) -L/usr/lib -Wl,-rpath-link=/usr/lib -lQtGui -lQtCore -lpthread AR = ar cqs RANLIB = QMAKE = /usr/bin/qmake TAR = tar -cf COMPRESS = gzip -9f COPY = cp -f SED = sed COPY_FILE = $(COPY) COPY_DIR = $(COPY) -r INSTALL_FILE = install -m 644 -p INSTALL_DIR = $(COPY_DIR) INSTALL_PROGRAM = install -m 755 -p DEL_FILE = rm -f SYMLINK = ln -sf DEL_DIR = rmdir MOVE = mv -f CHK_DIR_EXISTS= test -d MKDIR = mkdir -p ####### Output directory OBJECTS_DIR = build/ ####### Files SOURCES = src/main.cpp \ src/window.cpp src/.tmp/moc_window.cpp OBJECTS = build/main.o \ build/window.o \ build/moc_window.o DIST = /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/g++.conf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \ helloworld.pro QMAKE_TARGET = qthelloworld DESTDIR = build/ TARGET = build/qthelloworld first: all ####### Implicit rules .SUFFIXES: .o .c .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: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" .c.o: $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" ####### Build rules all: Makefile $(TARGET) $(TARGET): $(OBJECTS) @$(CHK_DIR_EXISTS) build/ || $(MKDIR) build/ $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) Makefile: helloworld.pro /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-gles2/qmake.conf /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/g++.conf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \ /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \ /usr/lib/libQtGui.prl \ /usr/lib/libQtCore.prl $(QMAKE) -unix -o Makefile helloworld.pro /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/g++.conf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf: /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf: /usr/lib/libQtGui.prl: /usr/lib/libQtCore.prl: qmake: FORCE @$(QMAKE) -unix -o Makefile helloworld.pro dist: @$(CHK_DIR_EXISTS) build/qthelloworld1.0.0 || $(MKDIR) build/qthelloworld1.0.0 $(COPY_FILE) --parents $(SOURCES) $(DIST) build/qthelloworld1.0.0/ && $(COPY_FILE) --parents src/window.h build/qthelloworld1.0.0/ && $(COPY_FILE) --parents src/main.cpp src/window.cpp build/qthelloworld1.0.0/ && (cd `dirname build/qthelloworld1.0.0` && $(TAR) qthelloworld1.0.0.tar qthelloworld1.0.0 && $(COMPRESS) qthelloworld1.0.0.tar) && $(MOVE) `dirname build/qthelloworld1.0.0`/qthelloworld1.0.0.tar.gz . && $(DEL_FILE) -r build/qthelloworld1.0.0 clean:compiler_clean -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) build/qthelloworld -$(DEL_FILE) *~ core *.core ####### Sub-libraries distclean: clean -$(DEL_FILE) $(TARGET) -$(DEL_FILE) Makefile 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: src/.tmp/moc_window.cpp compiler_moc_header_clean: -$(DEL_FILE) src/.tmp/moc_window.cpp src/.tmp/moc_window.cpp: src/window.h /usr/bin/moc $(DEFINES) $(INCPATH) src/window.h -o src/.tmp/moc_window.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: compiler_uic_clean: 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 ####### Compile build/main.o: src/main.cpp src/window.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/main.o src/main.cpp build/window.o: src/window.cpp src/window.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/window.o src/window.cpp build/moc_window.o: src/.tmp/moc_window.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_window.o src/.tmp/moc_window.cpp ####### Install install_target: first FORCE @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/bin/ -$(INSTALL_PROGRAM) "build/$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)" uninstall_target: FORCE -$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)" -$(DEL_DIR) $(INSTALL_ROOT)/usr/bin/ install: install_target FORCE uninstall: uninstall_target FORCE FORCE: