📄 makefile.release
字号:
#############################################################################
# Makefile for building: qpyconsole
# Generated by qmake (2.01a) (Qt 4.4.3) on: ??? ??? 20 12:54:20 2008
# Project: qpyconsole.pro
# Template: app
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
CFLAGS = -O2 -Wall $(DEFINES)
CXXFLAGS = -O2 -Wall -frtti -fexceptions -mthreads $(DEFINES)
INCPATH = -I"c:\Qt\4.4.3\include\QtCore" -I"c:\Qt\4.4.3\include\QtCore" -I"c:\Qt\4.4.3\include\QtGui" -I"c:\Qt\4.4.3\include\QtGui" -I"c:\Qt\4.4.3\include\Qt3Support" -I"c:\Qt\4.4.3\include\Qt3Support" -I"c:\Qt\4.4.3\include" -I"." -I"include" -I"$(PYTHON_PATH)\include\python$(PYTHON_VERSION)" -I"c:\Python30\include" -I"c:\Qt\4.4.3\include\ActiveQt" -I"release" -I"." -I"c:\Qt\4.4.3\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"c:\Qt\4.4.3\lib" -lmingw32 -lqtmain -lQt3Support4 -lQtGui4 -lQtCore4
QMAKE = c:\Qt\4.4.3\bin\qmake.exe
IDC = c:\Qt\4.4.3\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 = src\interceptor.cpp \
src\pymain.cpp \
src\qpyconsole.cpp \
src\qconsole.cpp release\moc_interceptor.cpp \
release\moc_qconsole.cpp
OBJECTS = release/interceptor.o \
release/pymain.o \
release/qpyconsole.o \
release/qconsole.o \
release/moc_interceptor.o \
release/moc_qconsole.o
DIST =
QMAKE_TARGET = qpyconsole
DESTDIR = release\ #avoid trailing-slash linebreak
TARGET = qpyconsole.exe
DESTDIR_TARGET = release\qpyconsole.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): $(OBJECTS)
$(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) $(OBJECTS) $(LIBS)
qmake: FORCE
@$(QMAKE) -spec c:\Qt\4.4.3\mkspecs\win32-g++ -win32 CONFIG+=debug_and_release -o Makefile.Release qpyconsole.pro
dist:
$(ZIP) qpyconsole.zip $(SOURCES) $(DIST) qpyconsole.pro c:\Qt\4.4.3\mkspecs\qconfig.pri c:\Qt\4.4.3\mkspecs\features\qt_functions.prf c:\Qt\4.4.3\mkspecs\features\qt_config.prf c:\Qt\4.4.3\mkspecs\features\exclusive_builds.prf c:\Qt\4.4.3\mkspecs\features\default_pre.prf c:\Qt\4.4.3\mkspecs\features\win32\default_pre.prf c:\Qt\4.4.3\mkspecs\features\release.prf c:\Qt\4.4.3\mkspecs\features\debug_and_release.prf c:\Qt\4.4.3\mkspecs\features\default_post.prf c:\Qt\4.4.3\mkspecs\features\build_pass.prf c:\Qt\4.4.3\mkspecs\features\warn_on.prf c:\Qt\4.4.3\mkspecs\features\win32\rtti.prf c:\Qt\4.4.3\mkspecs\features\win32\exceptions.prf c:\Qt\4.4.3\mkspecs\features\win32\stl.prf c:\Qt\4.4.3\mkspecs\features\shared.prf c:\Qt\4.4.3\mkspecs\features\qt.prf c:\Qt\4.4.3\mkspecs\features\win32\thread.prf c:\Qt\4.4.3\mkspecs\features\moc.prf c:\Qt\4.4.3\mkspecs\features\win32\windows.prf c:\Qt\4.4.3\mkspecs\features\resources.prf c:\Qt\4.4.3\mkspecs\features\uic.prf c:\Qt\4.4.3\mkspecs\features\yacc.prf c:\Qt\4.4.3\mkspecs\features\lex.prf c:\Qt\4.4.3\lib\qtmain.prl HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES
clean: compiler_clean
-$(DEL_FILE) release\interceptor.o release\pymain.o release\qpyconsole.o release\qconsole.o release\moc_interceptor.o release\moc_qconsole.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_interceptor.cpp release/moc_qconsole.cpp
compiler_moc_header_clean:
-$(DEL_FILE) release\moc_interceptor.cpp release\moc_qconsole.cpp
release/moc_interceptor.cpp: include/interceptor.h
C:/Qt/4.4.3/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 include\interceptor.h -o release\moc_interceptor.cpp
release/moc_qconsole.cpp: include/interceptor.h \
include/qconsole.h
C:/Qt/4.4.3/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 include\qconsole.h -o release\moc_qconsole.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
release/interceptor.o: src/interceptor.cpp include/interceptor.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\interceptor.o src\interceptor.cpp
release/pymain.o: src/pymain.cpp include/qpyconsole.h \
include/qconsole.h \
include/interceptor.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\pymain.o src\pymain.cpp
release/qpyconsole.o: src/qpyconsole.cpp include/qpyconsole.h \
include/qconsole.h \
include/interceptor.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\qpyconsole.o src\qpyconsole.cpp
release/qconsole.o: src/qconsole.cpp include/qconsole.h \
include/interceptor.h \
include/q3richtext_p.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\qconsole.o src\qconsole.cpp
release/moc_interceptor.o: release/moc_interceptor.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_interceptor.o release\moc_interceptor.cpp
release/moc_qconsole.o: release/moc_qconsole.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_qconsole.o release\moc_qconsole.cpp
####### Install
install: FORCE
uninstall: FORCE
FORCE:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -