📄 makefile.release
字号:
#############################################################################
# Makefile for building: FDTD_1D
# Generated by qmake (2.01a) (Qt 4.4.3) on: ??? ?? 11 12:04:02 2009
# Project: FDTD_1D.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
CFLAGS = -O2 -Wall $(DEFINES)
CXXFLAGS = -O2 -frtti -fexceptions -mthreads -Wall $(DEFINES)
INCPATH = -I"e:\Qt\4.4.3\include\QtCore" -I"e:\Qt\4.4.3\include\QtCore" -I"e:\Qt\4.4.3\include\QtGui" -I"e:\Qt\4.4.3\include\QtGui" -I"e:\Qt\4.4.3\include" -I"." -I"e:\Qt\4.4.3\include\ActiveQt" -I"release" -I"." -I"e:\Qt\4.4.3\mkspecs\win32-g++"
LINK = g++
LFLAGS = -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -Wl,-subsystem,console -mthreads -Wl
LIBS = -L"e:\Qt\4.4.3\lib" -lQtGui4 -lQtCore4
QMAKE = e:\Qt\4.4.3\bin\qmake.exe
IDC = e:\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 = fdtd.cpp \
main.cpp
OBJECTS = release/fdtd.o \
release/main.o
DIST =
QMAKE_TARGET = FDTD_1D
DESTDIR = release\ #avoid trailing-slash linebreak
TARGET = FDTD_1D.exe
DESTDIR_TARGET = release\FDTD_1D.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) -win32 -o Makefile.Release FDTD_1D.pro
dist:
$(ZIP) FDTD_1D.zip $(SOURCES) $(DIST) FDTD_1D.pro e:\Qt\4.4.3\mkspecs\qconfig.pri e:\Qt\4.4.3\mkspecs\features\qt_functions.prf e:\Qt\4.4.3\mkspecs\features\qt_config.prf e:\Qt\4.4.3\mkspecs\features\exclusive_builds.prf e:\Qt\4.4.3\mkspecs\features\default_pre.prf e:\Qt\4.4.3\mkspecs\features\win32\default_pre.prf e:\Qt\4.4.3\mkspecs\features\release.prf e:\Qt\4.4.3\mkspecs\features\debug_and_release.prf e:\Qt\4.4.3\mkspecs\features\default_post.prf e:\Qt\4.4.3\mkspecs\features\build_pass.prf e:\Qt\4.4.3\mkspecs\features\win32\console.prf e:\Qt\4.4.3\mkspecs\features\win32\rtti.prf e:\Qt\4.4.3\mkspecs\features\win32\exceptions.prf e:\Qt\4.4.3\mkspecs\features\win32\stl.prf e:\Qt\4.4.3\mkspecs\features\shared.prf e:\Qt\4.4.3\mkspecs\features\warn_on.prf e:\Qt\4.4.3\mkspecs\features\qt.prf e:\Qt\4.4.3\mkspecs\features\win32\thread.prf e:\Qt\4.4.3\mkspecs\features\moc.prf e:\Qt\4.4.3\mkspecs\features\resources.prf e:\Qt\4.4.3\mkspecs\features\uic.prf e:\Qt\4.4.3\mkspecs\features\yacc.prf e:\Qt\4.4.3\mkspecs\features\lex.prf HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES
clean: compiler_clean
-$(DEL_FILE) release\fdtd.o release\main.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:
compiler_moc_header_clean:
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:
####### Compile
release/fdtd.o: fdtd.cpp fdtd.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\fdtd.o fdtd.cpp
release/main.o: main.cpp fdtd.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\main.o main.cpp
####### Install
install: FORCE
uninstall: FORCE
FORCE:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -