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

📄 makefile.debug

📁 使用QT编写了简单的学生管理系统
💻 DEBUG
字号:
#############################################################################
# Makefile for building: Info
# Generated by qmake (2.01a) (Qt 4.2.3) on: ??? ??? 19 15:18:59 2007
# Project:  Info.pro
# Template: app
#############################################################################

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

CC            = gcc
CXX           = g++
LEX           = flex
YACC          = byacc
DEFINES       = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
CFLAGS        = -g -g -Wall $(DEFINES)
CXXFLAGS      = -g -g -frtti -fexceptions -Wall $(DEFINES)
LEXFLAGS      = 
YACCFLAGS     = -d
INCPATH       = -I"D:/Qt/4.2.3/include/QtCore" -I"D:/Qt/4.2.3/include/QtCore" -I"D:/Qt/4.2.3/include/QtGui" -I"D:/Qt/4.2.3/include/QtGui" -I"D:/Qt/4.2.3/include" -I"D:/Qt/4.2.3/include/ActiveQt" -I"debug" -I"." -I"d:\Qt\4.2.3\mkspecs\win32-g++"
LINK        =        g++
LFLAGS        =        -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-subsystem,windows
LIBS        =        -L"d:\Qt\4.2.3\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4
QMAKE         = qmake
IDC           = d:\Qt\4.2.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   = debug

####### Files

SOURCES       = src\student.cpp \
		src\main.cpp \
		src\window.cpp \
		src\stlist.cpp debug\moc_window.cpp \
		debug\moc_stlist.cpp
OBJECTS       = debug\student.o \
		debug\main.o \
		debug\window.o \
		debug\stlist.o \
		debug\moc_window.o \
		debug\moc_stlist.o
DIST          = 
QMAKE_TARGET  = Info
DESTDIR        = debug\ #avoid trailing-slash linebreak
TARGET         = Info.exe
DESTDIR_TARGET = debug\Info.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.Debug  $(DESTDIR_TARGET)

$(DESTDIR_TARGET):  $(OBJECTS) 
	$(LINK) $(LFLAGS) -o "$(DESTDIR_TARGET)" $(OBJECTS)  $(LIBS)


qmake:  FORCE
	@$(QMAKE) -win32 -o Makefile.Debug Info.pro

dist:
	$(ZIP) Info.zip $(SOURCES) $(DIST) Info.pro D:/Qt/4.2.3/mkspecs/qconfig.pri d:\Qt\4.2.3\mkspecs\features\qt_functions.prf d:\Qt\4.2.3\mkspecs\features\qt_config.prf d:\Qt\4.2.3\mkspecs\features\exclusive_builds.prf d:\Qt\4.2.3\mkspecs\features\default_pre.prf d:\Qt\4.2.3\mkspecs\features\win32\default_pre.prf d:\Qt\4.2.3\mkspecs\features\debug.prf d:\Qt\4.2.3\mkspecs\features\debug_and_release.prf d:\Qt\4.2.3\mkspecs\features\default_post.prf d:\Qt\4.2.3\mkspecs\features\build_pass.prf d:\Qt\4.2.3\mkspecs\features\Debug.prf d:\Qt\4.2.3\mkspecs\features\win32\rtti.prf d:\Qt\4.2.3\mkspecs\features\win32\exceptions.prf d:\Qt\4.2.3\mkspecs\features\win32\stl.prf d:\Qt\4.2.3\mkspecs\features\shared.prf d:\Qt\4.2.3\mkspecs\features\warn_on.prf d:\Qt\4.2.3\mkspecs\features\qt.prf d:\Qt\4.2.3\mkspecs\features\win32\thread.prf d:\Qt\4.2.3\mkspecs\features\moc.prf d:\Qt\4.2.3\mkspecs\features\win32\windows.prf d:\Qt\4.2.3\mkspecs\features\resources.prf d:\Qt\4.2.3\mkspecs\features\uic.prf d:\Qt\4.2.3\lib\qtmaind.prl  HEADERS RESOURCES IMAGES SOURCES FORMS 

clean: compiler_clean
	-$(DEL_FILE) debug\student.o debug\main.o debug\window.o debug\stlist.o debug\moc_window.o debug\moc_stlist.o

distclean: clean
	-$(DEL_FILE) "$(DESTDIR_TARGET)"
	-$(DEL_FILE) Makefile.Debug

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: debug\moc_window.cpp debug\moc_stlist.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) debug\moc_window.cpp debug\moc_stlist.cpp
debug\moc_window.cpp: src\stlist.h \
		src\student.h \
		src\window.h
	d:\Qt\4.2.3\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src\window.h -o debug\moc_window.cpp

debug\moc_stlist.cpp: src\student.h \
		src\stlist.h
	d:\Qt\4.2.3\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src\stlist.h -o debug\moc_stlist.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_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean 



####### Compile

debug\student.o: src\student.cpp src\student.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\student.o src\student.cpp

debug\main.o: src\main.cpp src\window.h \
		src\stlist.h \
		src\student.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\main.o src\main.cpp

debug\window.o: src\window.cpp src\window.h \
		src\stlist.h \
		src\student.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\window.o src\window.cpp

debug\stlist.o: src\stlist.cpp src\stlist.h \
		src\student.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\stlist.o src\stlist.cpp

debug\moc_window.o: debug\moc_window.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_window.o debug\moc_window.cpp

debug\moc_stlist.o: debug\moc_stlist.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_stlist.o debug\moc_stlist.cpp

####### Install

install:   FORCE

uninstall:   FORCE

FORCE:

⌨️ 快捷键说明

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