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

📄 makefile.debug

📁 编译器 用C语言对下述文法和单词表定义的语言设计编制一个编译器
💻 DEBUG
字号:
#############################################################################
# Makefile for building: parser
# Generated by qmake (2.01a) (Qt 4.3.3) on: Mon Apr 28 12:50:21 2008
# Project:  parser.pro
# Template: app
#############################################################################

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

CC            = cl
CXX           = cl
DEFINES       = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT
CFLAGS        = -nologo -Zm200 -Zi -MDd -W3 $(DEFINES)
CXXFLAGS      = -nologo -Zm200 -Zi -MDd -GR -GX -W3 $(DEFINES)
INCPATH       = -I"c:\qt-win-opensource-src-4.3.3\include\QtCore" -I"c:\qt-win-opensource-src-4.3.3\include\QtCore" -I"c:\qt-win-opensource-src-4.3.3\include\QtGui" -I"c:\qt-win-opensource-src-4.3.3\include\QtGui" -I"c:\qt-win-opensource-src-4.3.3\include" -I"." -I"c:\qt-win-opensource-src-4.3.3\include\ActiveQt" -I"debug" -I"." -I"c:\qt-win-opensource-src-4.3.3\mkspecs\win32-msvc"
LINK          = link
LFLAGS        = /LIBPATH:"c:\qt-win-opensource-src-4.3.3\lib" /NOLOGO /DEBUG /SUBSYSTEM:windows
LIBS          = c:\qt-win-opensource-src-4.3.3\lib\qtmaind.lib c:\qt-win-opensource-src-4.3.3\lib\QtGuid4.lib c:\qt-win-opensource-src-4.3.3\lib\QtCored4.lib debug\parser.res
QMAKE         = c:\qt-win-opensource-src-4.3.3\bin\qmake.exe
IDC           = c:\qt-win-opensource-src-4.3.3\bin\idc.exe
IDL           = midl
ZIP           = zip -r -9
DEF_FILE      = 
RES_FILE      = debug\parser.res
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       = glossary.cpp \
		main.cpp \
		mainwindow.cpp \
		parser.cpp \
		shared.cpp debug\moc_mainwindow.cpp \
		debug\qrc_parser.cpp
OBJECTS       = debug\glossary.obj \
		debug\main.obj \
		debug\mainwindow.obj \
		debug\parser.obj \
		debug\shared.obj \
		debug\moc_mainwindow.obj \
		debug\qrc_parser.obj
DIST          = 
QMAKE_TARGET  = parser
DESTDIR        = debug\ #avoid trailing-slash linebreak
TARGET         = parser.exe
DESTDIR_TARGET = debug\parser.exe

####### Implicit rules

.SUFFIXES: .c .cpp .cc .cxx

{.}.cpp{debug\}.obj::
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{.}.cc{debug\}.obj::
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{.}.cxx{debug\}.obj::
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{.}.c{debug\}.obj::
	$(CC) -c $(CFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{.}.cpp{debug\}.obj::
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{.}.cc{debug\}.obj::
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{.}.cxx{debug\}.obj::
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{.}.c{debug\}.obj::
	$(CC) -c $(CFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{.}.cpp{debug\}.obj::
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{.}.cc{debug\}.obj::
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{.}.cxx{debug\}.obj::
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{.}.c{debug\}.obj::
	$(CC) -c $(CFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{debug}.cpp{debug\}.obj::
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{debug}.cc{debug\}.obj::
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{debug}.cxx{debug\}.obj::
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{debug}.c{debug\}.obj::
	$(CC) -c $(CFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{debug}.cpp{debug\}.obj::
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{debug}.cc{debug\}.obj::
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{debug}.cxx{debug\}.obj::
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

{debug}.c{debug\}.obj::
	$(CC) -c $(CFLAGS) $(INCPATH) -Fodebug\ @<<
	$<
<<

####### Build rules

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

$(DESTDIR_TARGET):  $(OBJECTS) debug\parser.res
	$(LINK) $(LFLAGS) /OUT:$(DESTDIR_TARGET) @<< 
	  $(OBJECTS) $(LIBS)
<<


debug\parser.res: parser.rc
	rc -D_DEBUG $(DEFINES) -fo debug\parser.res parser.rc

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

dist:
	$(ZIP) parser.zip $(SOURCES) $(DIST) parser.pro c:\qt-win-opensource-src-4.3.3\mkspecs\qconfig.pri c:\qt-win-opensource-src-4.3.3\mkspecs\features\qt_functions.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\qt_config.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\exclusive_builds.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\default_pre.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\win32\default_pre.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\debug.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\debug_and_release.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\default_post.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\build_pass.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\win32\rtti.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\win32\exceptions.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\win32\stl.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\shared.prf c:\qt-win-opensource-src-4.3.3\mkspecs\win32-msvc\features\incremental.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\warn_on.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\qt.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\win32\thread.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\moc.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\win32\windows.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\resources.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\uic.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\yacc.prf c:\qt-win-opensource-src-4.3.3\mkspecs\features\lex.prf c:\qt-win-opensource-src-4.3.3\lib\qtmaind.prl  HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES 

clean: compiler_clean 
	-$(DEL_FILE) debug\glossary.obj
	-$(DEL_FILE) debug\main.obj
	-$(DEL_FILE) debug\mainwindow.obj
	-$(DEL_FILE) debug\parser.obj
	-$(DEL_FILE) debug\shared.obj
	-$(DEL_FILE) debug\moc_mainwindow.obj
	-$(DEL_FILE) debug\qrc_parser.obj
	-$(DEL_FILE) debug\parser.exp
	-$(DEL_FILE) debug\parser.pdb
	-$(DEL_FILE) debug\parser.ilk
	-$(DEL_FILE) vc*.pdb
	-$(DEL_FILE) vc*.idb
	-$(DEL_FILE) debug\parser.res

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_mainwindow.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) debug\moc_mainwindow.cpp
debug\moc_mainwindow.cpp: parser.h \
		glossary.h \
		shared.h \
		mainwindow.h
	C:\qt-win-opensource-src-4.3.3\bin\moc.exe $(DEFINES) $(INCPATH) -D_MSC_VER=1200 -DWIN32 mainwindow.h -o debug\moc_mainwindow.cpp

compiler_rcc_make_all: debug\qrc_parser.cpp
compiler_rcc_clean:
	-$(DEL_FILE) debug\qrc_parser.cpp
debug\qrc_parser.cpp: parser.qrc \
		images\about.png \
		images\reload.png \
		images\exit.png \
		images\icon.png \
		images\compile.png \
		images\open.png
	c:\qt-win-opensource-src-4.3.3\bin\rcc.exe -name parser parser.qrc -o debug\qrc_parser.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:
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 compiler_rcc_clean 



####### Compile

debug\glossary.obj: glossary.cpp glossary.h \
		shared.h

debug\main.obj: main.cpp mainwindow.h \
		parser.h \
		glossary.h \
		shared.h

debug\mainwindow.obj: mainwindow.cpp mainwindow.h \
		parser.h \
		glossary.h \
		shared.h

debug\parser.obj: parser.cpp parser.h \
		glossary.h \
		shared.h

debug\shared.obj: shared.cpp shared.h

debug\moc_mainwindow.obj: debug\moc_mainwindow.cpp 

debug\qrc_parser.obj: debug\qrc_parser.cpp 

####### Install

install:   FORCE

uninstall:   FORCE

FORCE:

⌨️ 快捷键说明

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