📄 makefile
字号:
############################################################################## Makefile for building: calculator# Generated by qmake (2.01a) (Qt 4.4.0) on: ?? ?? 16 14:54:24 2009# Project: calculator.pro# Template: app# Command: /usr/bin/qmake-qt4 -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile calculator.pro#################################################################################### Compiler, tools and optionsCC = gccCXX = g++DEFINES = -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHAREDCFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)CXXFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I.LINK = g++LFLAGS = -Wl,--no-undefinedLIBS = $(SUBLIBS) -L/usr/lib -lQtGui -lQtCore -lpthreadAR = ar cqsRANLIB = QMAKE = /usr/bin/qmake-qt4TAR = tar -cfCOMPRESS = gzip -9fCOPY = cp -fSED = sedCOPY_FILE = $(COPY)COPY_DIR = $(COPY) -rINSTALL_FILE = install -m 644 -pINSTALL_DIR = $(COPY_DIR)INSTALL_PROGRAM = install -m 755 -pDEL_FILE = rm -fSYMLINK = ln -sfDEL_DIR = rmdirMOVE = mv -fCHK_DIR_EXISTS= test -dMKDIR = mkdir -p####### Output directoryOBJECTS_DIR = ./####### FilesSOURCES = button.cpp \ calculator.cpp \ main.cpp moc_button.cpp \ moc_calculator.cppOBJECTS = button.o \ calculator.o \ main.o \ moc_button.o \ moc_calculator.oDIST = /usr/share/qt4/mkspecs/common/g++.conf \ /usr/share/qt4/mkspecs/common/unix.conf \ /usr/share/qt4/mkspecs/common/linux.conf \ /usr/share/qt4/mkspecs/qconfig.pri \ /usr/share/qt4/mkspecs/features/qt_functions.prf \ /usr/share/qt4/mkspecs/features/qt_config.prf \ /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ /usr/share/qt4/mkspecs/features/default_pre.prf \ /usr/share/qt4/mkspecs/features/debug.prf \ /usr/share/qt4/mkspecs/features/default_post.prf \ /usr/share/qt4/mkspecs/features/warn_on.prf \ /usr/share/qt4/mkspecs/features/qt.prf \ /usr/share/qt4/mkspecs/features/unix/thread.prf \ /usr/share/qt4/mkspecs/features/moc.prf \ /usr/share/qt4/mkspecs/features/resources.prf \ /usr/share/qt4/mkspecs/features/uic.prf \ /usr/share/qt4/mkspecs/features/yacc.prf \ /usr/share/qt4/mkspecs/features/lex.prf \ calculator.proQMAKE_TARGET = calculatorDESTDIR = TARGET = calculatorfirst: 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 rulesall: Makefile $(TARGET)$(TARGET): $(OBJECTS) $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)Makefile: calculator.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \ /usr/share/qt4/mkspecs/common/unix.conf \ /usr/share/qt4/mkspecs/common/linux.conf \ /usr/share/qt4/mkspecs/qconfig.pri \ /usr/share/qt4/mkspecs/features/qt_functions.prf \ /usr/share/qt4/mkspecs/features/qt_config.prf \ /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ /usr/share/qt4/mkspecs/features/default_pre.prf \ /usr/share/qt4/mkspecs/features/debug.prf \ /usr/share/qt4/mkspecs/features/default_post.prf \ /usr/share/qt4/mkspecs/features/warn_on.prf \ /usr/share/qt4/mkspecs/features/qt.prf \ /usr/share/qt4/mkspecs/features/unix/thread.prf \ /usr/share/qt4/mkspecs/features/moc.prf \ /usr/share/qt4/mkspecs/features/resources.prf \ /usr/share/qt4/mkspecs/features/uic.prf \ /usr/share/qt4/mkspecs/features/yacc.prf \ /usr/share/qt4/mkspecs/features/lex.prf \ /usr/lib/libQtGui.prl \ /usr/lib/libQtCore.prl $(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile calculator.pro/usr/share/qt4/mkspecs/common/g++.conf:/usr/share/qt4/mkspecs/common/unix.conf:/usr/share/qt4/mkspecs/common/linux.conf:/usr/share/qt4/mkspecs/qconfig.pri:/usr/share/qt4/mkspecs/features/qt_functions.prf:/usr/share/qt4/mkspecs/features/qt_config.prf:/usr/share/qt4/mkspecs/features/exclusive_builds.prf:/usr/share/qt4/mkspecs/features/default_pre.prf:/usr/share/qt4/mkspecs/features/debug.prf:/usr/share/qt4/mkspecs/features/default_post.prf:/usr/share/qt4/mkspecs/features/warn_on.prf:/usr/share/qt4/mkspecs/features/qt.prf:/usr/share/qt4/mkspecs/features/unix/thread.prf:/usr/share/qt4/mkspecs/features/moc.prf:/usr/share/qt4/mkspecs/features/resources.prf:/usr/share/qt4/mkspecs/features/uic.prf:/usr/share/qt4/mkspecs/features/yacc.prf:/usr/share/qt4/mkspecs/features/lex.prf:/usr/lib/libQtGui.prl:/usr/lib/libQtCore.prl:qmake: FORCE @$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile calculator.prodist: @$(CHK_DIR_EXISTS) .tmp/calculator1.0.0 || $(MKDIR) .tmp/calculator1.0.0 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/calculator1.0.0/ && $(COPY_FILE) --parents button.h calculator.h .tmp/calculator1.0.0/ && $(COPY_FILE) --parents button.cpp calculator.cpp main.cpp .tmp/calculator1.0.0/ && (cd `dirname .tmp/calculator1.0.0` && $(TAR) calculator1.0.0.tar calculator1.0.0 && $(COMPRESS) calculator1.0.0.tar) && $(MOVE) `dirname .tmp/calculator1.0.0`/calculator1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/calculator1.0.0clean:compiler_clean -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) *~ core *.core####### Sub-librariesdistclean: clean -$(DEL_FILE) $(TARGET) -$(DEL_FILE) Makefilemocclean: compiler_moc_header_clean compiler_moc_source_cleanmocables: compiler_moc_header_make_all compiler_moc_source_make_allcompiler_moc_header_make_all: moc_button.cpp moc_calculator.cppcompiler_moc_header_clean: -$(DEL_FILE) moc_button.cpp moc_calculator.cppmoc_button.cpp: button.h /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) button.h -o moc_button.cppmoc_calculator.cpp: calculator.h /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) calculator.h -o moc_calculator.cppcompiler_rcc_make_all:compiler_rcc_clean:compiler_image_collection_make_all: qmake_image_collection.cppcompiler_image_collection_clean: -$(DEL_FILE) qmake_image_collection.cppcompiler_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 ####### Compilebutton.o: button.cpp button.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o button.o button.cppcalculator.o: calculator.cpp button.h \ calculator.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o calculator.o calculator.cppmain.o: main.cpp calculator.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cppmoc_button.o: moc_button.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_button.o moc_button.cppmoc_calculator.o: moc_calculator.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_calculator.o moc_calculator.cpp####### Installinstall_target: first FORCE @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/ -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/$(QMAKE_TARGET)"uninstall_target: FORCE -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/$(QMAKE_TARGET)" -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/ install_sources: first FORCE @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/ -$(INSTALL_PROGRAM) /home/cool/编程/C++/Qt/examples/widgets/calculator/button.cpp $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/ -$(INSTALL_PROGRAM) /home/cool/编程/C++/Qt/examples/widgets/calculator/calculator.cpp $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/ -$(INSTALL_PROGRAM) /home/cool/编程/C++/Qt/examples/widgets/calculator/main.cpp $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/ -$(INSTALL_PROGRAM) /home/cool/编程/C++/Qt/examples/widgets/calculator/button.h $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/ -$(INSTALL_PROGRAM) /home/cool/编程/C++/Qt/examples/widgets/calculator/calculator.h $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/ -$(INSTALL_PROGRAM) /home/cool/编程/C++/Qt/examples/widgets/calculator/calculator.pro $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/uninstall_sources: FORCE -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/button.cpp -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/calculator.cpp -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/main.cpp -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/button.h -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/calculator.h -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/calculator.pro -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/qt4/examples/widgets/calculator/ install: install_target install_sources FORCEuninstall: uninstall_target uninstall_sources FORCEFORCE:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -