⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.release

📁 Qt下开发的垫在表格程序
💻 RELEASE
字号:
#############################################################################
# Makefile for building: spreadsheet
# Generated by qmake (2.01a) (Qt 4.5.0) on: ??? ?? 12 21:17:31 2009
# Project:  spreadsheet.pro
# Template: app
#############################################################################

####### Compiler, tools and options

CC            = gcc
CXX           = g++
DEFINES       = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
CFLAGS        = -O2 -Wall $(DEFINES)
CXXFLAGS      = -O2 -frtti -fexceptions -mthreads -Wall $(DEFINES)
INCPATH       = -I"..\..\2009.01\qt\include\QtCore" -I"..\..\2009.01\qt\include\QtGui" -I"..\..\2009.01\qt\include" -I"..\..\2009.01\qt\include\ActiveQt" -I"release" -I"." -I"..\..\2009.01\qt\mkspecs\win32-g++"
LINK        =        g++
LFLAGS        =        -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows
LIBS        =        -L"e:\Qt\2009.01\qt\lib" -lmingw32 -lqtmain -lQtGui4 -lQtCore4
QMAKE         = e:\Qt\2009.01\qt\bin\qmake.exe
IDC           = e:\Qt\2009.01\qt\bin\idc.exe
IDL           = midl
ZIP           = zip -r -9
DEF_FILE      = 
RES_FILE      = 
COPY          = copy /y
COPY_FILE     = $(COPY)
COPY_DIR      = xcopy /s /q /y /i
DEL_FILE      = del
DEL_DIR       = rmdir
MOVE          = move
CHK_DIR_EXISTS= if not exist
MKDIR         = mkdir
INSTALL_FILE    = $(COPY_FILE)
INSTALL_PROGRAM = $(COPY_FILE)
INSTALL_DIR     = $(COPY_DIR)

####### Output directory

OBJECTS_DIR   = release

####### Files

SOURCES       = cell.cpp \
		finddialog.cpp \
		gotocelldialog.cpp \
		main.cpp \
		mainwindow.cpp \
		sortdialog.cpp \
		spreadsheet.cpp release\moc_finddialog.cpp \
		release\moc_gotocelldialog.cpp \
		release\moc_mainwindow.cpp \
		release\moc_sortdialog.cpp \
		release\moc_spreadsheet.cpp \
		release\qrc_spreadsheet.cpp
OBJECTS       = release/cell.o \
		release/finddialog.o \
		release/gotocelldialog.o \
		release/main.o \
		release/mainwindow.o \
		release/sortdialog.o \
		release/spreadsheet.o \
		release/moc_finddialog.o \
		release/moc_gotocelldialog.o \
		release/moc_mainwindow.o \
		release/moc_sortdialog.o \
		release/moc_spreadsheet.o \
		release/qrc_spreadsheet.o
DIST          = 
QMAKE_TARGET  = spreadsheet
DESTDIR        = release\ #avoid trailing-slash linebreak
TARGET         = spreadsheet.exe
DESTDIR_TARGET = release\spreadsheet.exe

####### Implicit rules

.SUFFIXES: .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:
	$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<

####### Build rules

first: all
all: Makefile.Release  $(DESTDIR_TARGET)

$(DESTDIR_TARGET): ui_gotocelldialog.h ui_sortdialog.h $(OBJECTS) 
	$(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.spreadsheet.Release  $(LIBS)


qmake:  FORCE
	@$(QMAKE) -win32 -o Makefile.Release spreadsheet.pro

dist:
	$(ZIP) spreadsheet.zip $(SOURCES) $(DIST) spreadsheet.pro ..\..\2009.01\qt\mkspecs\qconfig.pri ..\..\2009.01\qt\mkspecs\features\qt_functions.prf ..\..\2009.01\qt\mkspecs\features\qt_config.prf ..\..\2009.01\qt\mkspecs\features\exclusive_builds.prf ..\..\2009.01\qt\mkspecs\features\default_pre.prf ..\..\2009.01\qt\mkspecs\features\win32\default_pre.prf ..\..\2009.01\qt\mkspecs\features\release.prf ..\..\2009.01\qt\mkspecs\features\debug_and_release.prf ..\..\2009.01\qt\mkspecs\features\default_post.prf ..\..\2009.01\qt\mkspecs\features\win32\default_post.prf ..\..\2009.01\qt\mkspecs\features\build_pass.prf ..\..\2009.01\qt\mkspecs\features\win32\rtti.prf ..\..\2009.01\qt\mkspecs\features\win32\exceptions.prf ..\..\2009.01\qt\mkspecs\features\win32\stl.prf ..\..\2009.01\qt\mkspecs\features\shared.prf ..\..\2009.01\qt\mkspecs\features\warn_on.prf ..\..\2009.01\qt\mkspecs\features\qt.prf ..\..\2009.01\qt\mkspecs\features\win32\thread.prf ..\..\2009.01\qt\mkspecs\features\moc.prf ..\..\2009.01\qt\mkspecs\features\win32\windows.prf ..\..\2009.01\qt\mkspecs\features\resources.prf ..\..\2009.01\qt\mkspecs\features\uic.prf ..\..\2009.01\qt\mkspecs\features\yacc.prf ..\..\2009.01\qt\mkspecs\features\lex.prf e:\Qt\2009.01\qt\lib\qtmain.prl  HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES 

clean: compiler_clean 
	-$(DEL_FILE) release\cell.o release\finddialog.o release\gotocelldialog.o release\main.o release\mainwindow.o release\sortdialog.o release\spreadsheet.o release\moc_finddialog.o release\moc_gotocelldialog.o release\moc_mainwindow.o release\moc_sortdialog.o release\moc_spreadsheet.o release\qrc_spreadsheet.o

distclean: clean
	-$(DEL_FILE) $(DESTDIR_TARGET)
	-$(DEL_FILE) Makefile.Release

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: release/moc_finddialog.cpp release/moc_gotocelldialog.cpp release/moc_mainwindow.cpp release/moc_sortdialog.cpp release/moc_spreadsheet.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) release\moc_finddialog.cpp release\moc_gotocelldialog.cpp release\moc_mainwindow.cpp release\moc_sortdialog.cpp release\moc_spreadsheet.cpp
release/moc_finddialog.cpp: finddialog.h
	E:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 finddialog.h -o release\moc_finddialog.cpp

release/moc_gotocelldialog.cpp: ui_gotocelldialog.h \
		gotocelldialog.h
	E:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 gotocelldialog.h -o release\moc_gotocelldialog.cpp

release/moc_mainwindow.cpp: mainwindow.h
	E:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 mainwindow.h -o release\moc_mainwindow.cpp

release/moc_sortdialog.cpp: ui_sortdialog.h \
		sortdialog.h
	E:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 sortdialog.h -o release\moc_sortdialog.cpp

release/moc_spreadsheet.cpp: spreadsheet.h
	E:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 spreadsheet.h -o release\moc_spreadsheet.cpp

compiler_rcc_make_all: release/qrc_spreadsheet.cpp
compiler_rcc_clean:
	-$(DEL_FILE) release\qrc_spreadsheet.cpp
release/qrc_spreadsheet.cpp: spreadsheet.qrc \
		images/new.png \
		images/find.png \
		images/cut.png \
		images/copy.png \
		images/icon.png \
		images/gotocell.png \
		images/save.png \
		images/paste.png \
		images/open.png
	e:\Qt\2009.01\qt\bin\rcc.exe -name spreadsheet spreadsheet.qrc -o release\qrc_spreadsheet.cpp

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: ui_gotocelldialog.h ui_sortdialog.h
compiler_uic_clean:
	-$(DEL_FILE) ui_gotocelldialog.h ui_sortdialog.h
ui_gotocelldialog.h: gotocelldialog.ui
	e:\Qt\2009.01\qt\bin\uic.exe gotocelldialog.ui -o ui_gotocelldialog.h

ui_sortdialog.h: sortdialog.ui
	e:\Qt\2009.01\qt\bin\uic.exe sortdialog.ui -o ui_sortdialog.h

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 compiler_rcc_clean compiler_uic_clean 



####### Compile

release/cell.o: cell.cpp cell.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\cell.o cell.cpp

release/finddialog.o: finddialog.cpp finddialog.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\finddialog.o finddialog.cpp

release/gotocelldialog.o: gotocelldialog.cpp gotocelldialog.h \
		ui_gotocelldialog.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\gotocelldialog.o gotocelldialog.cpp

release/main.o: main.cpp mainwindow.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\main.o main.cpp

release/mainwindow.o: mainwindow.cpp finddialog.h \
		gotocelldialog.h \
		ui_gotocelldialog.h \
		mainwindow.h \
		sortdialog.h \
		ui_sortdialog.h \
		spreadsheet.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\mainwindow.o mainwindow.cpp

release/sortdialog.o: sortdialog.cpp sortdialog.h \
		ui_sortdialog.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\sortdialog.o sortdialog.cpp

release/spreadsheet.o: spreadsheet.cpp cell.h \
		spreadsheet.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\spreadsheet.o spreadsheet.cpp

release/moc_finddialog.o: release/moc_finddialog.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_finddialog.o release\moc_finddialog.cpp

release/moc_gotocelldialog.o: release/moc_gotocelldialog.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_gotocelldialog.o release\moc_gotocelldialog.cpp

release/moc_mainwindow.o: release/moc_mainwindow.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_mainwindow.o release\moc_mainwindow.cpp

release/moc_sortdialog.o: release/moc_sortdialog.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_sortdialog.o release\moc_sortdialog.cpp

release/moc_spreadsheet.o: release/moc_spreadsheet.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_spreadsheet.o release\moc_spreadsheet.cpp

release/qrc_spreadsheet.o: release/qrc_spreadsheet.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\qrc_spreadsheet.o release\qrc_spreadsheet.cpp

####### Install

install:   FORCE

uninstall:   FORCE

FORCE:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -