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

📄 makefile

📁 Quantum Platform(QP) is a family of very lightweight, state machine-based frameworks for embedded sy
💻
字号:
############################################################################### Product:  QDPP/C++ example, uC/OS-II, Turbo C++ 1.01, Large model# Last Updated for Version: 3.1.01# Date of the Last Update:  Oct 20, 2005## Copyright (C) 2002-2005 Quantum Leaps, LLC. All rights reserved.## This software may be distributed and modified under the terms of the GNU# General Public License version 2 (GPL) as published by the Free Software# Foundation and appearing in the file GPL.TXT included in the packaging of# this file. Please note that GPL Section 2[b] requires that all works based# on this software must also be made publicly available under the terms of# the GPL ("Copyleft").## Alternatively, this software may be distributed and modified under the# terms of Quantum Leaps commercial licenses, which expressly allow the# licensees to retain the proprietary status of their code. The licensees# who use this software under one of Quantum Leaps commercial licenses do# not use this software under the GPL and therefore are not subject to any# of its terms.## Contact information:# Quantum Leaps Web site:  http://www.quantum-leaps.com# Quantum Leaps licensing: http://www.quantum-leaps.com/licensing# Quantum Leaps products:  http://www.quantum-leaps.com/products# e-mail:                  sales@quantum-leaps.com############################################################################### general utilitiesRM = eraseTCPP101 = c:\tools\tcpp101\bin# Turbo C++ 1.01 compiler and librarianCC  = $(TCPP101)\tccLINK = $(TCPP101)\tlink# Memory model -- largeMM  = lQP_INCDIR = ..\..\..\..\..\..\includeQP_PRTDIR = ..\..\..\..\..\..\ports\80x86\ucos2\tcpp101\$(MM)QP_LIBDIR = $(QP_PRTDIR)\$(BINDIR)BLDDIR    = .OS_SRCDIR = ..\..\..\..\..\..\ports\80x86\ucos2\tcpp101\$(MM)\ucos2.60OS_PRTDIR = ..\..\..\..\..\..\ports\80x86\ucos2\tcpp101\$(MM)\ucos2.60#CCINC     := -I$(QP_INCDIR) -I$(QP_INCDIR_PRT) -I$(BLDDIR)CCINC     := @include.rspQP_DEP    := $(QP_INCDIR)\qassert.h \	$(QP_INCDIR)\qep.h \	$(QP_PRTDIR)\qep_port.h \	$(QP_INCDIR)\qf.h \	$(QP_PRTDIR)\qf_port.h \	$(OS_SRCDIR)\UCOS_II.H \	$(OS_PRTDIR)\INCLUDES.H \	$(OS_PRTDIR)\OS_CFG.H \	$(OS_PRTDIR)\OS_CPU.HAPP_DEP   := $(BLDDIR)\qdpp.h \	$(BLDDIR)\video.h# dbg (default target) .......................................................BINDIR   = dbg# tcc options# -c    : compile only# -v    : source level debugging# -m    : memory model# -o... : output fileCCFLAGS  = -c  -v -m$(MM) -o$@# tlink options# /m  : map file with publics# /v  : include full symbolic informationLINKFLAGS =	/m /v @link_dbg.rsp# release ....................................................................ifeq ($(MAKECMDGOALS), rel)BINDIR   = rel# tcc options# -c    : compile only# -m    : memory model# -o... : output fileCCFLAGS  = -c -m$(MM) -o$@# tlink options# /m  : map file with publicsLINKFLAGS =	/m	@link_rel.rspendififeq ($(MAKECMDGOALS), rel_clean)BINDIR   = relendif# spy ........................................................................ifeq ($(MAKECMDGOALS), spy)BINDIR   = spy# tcc options# -c    : compile only# -v    : source level debugging# -m    : memory model# -D... : define macro# -o... : output fileCCFLAGS  = -c -v -m$(MM) -DQ_SPY -o$@# tlink options# /m  : map file with publics# /v  : include full symbolic informationLINKFLAGS =	/m /v @link_spy.rspQP_DEP  := $(QP_DEP) \	$(QP_INCDIR)\qs.h \	$(QP_PRTDIR)\qs_port.hQS_LIB  := $(QP_LIBDIR)\qs.libendififeq ($(MAKECMDGOALS), spy_clean)BINDIR   = spyendif#.............................................................................$(BINDIR)\qdpp.exe: \	$(BINDIR)\bsp.obj \	$(BINDIR)\main.obj \	$(BINDIR)\philo.obj \	$(BINDIR)\table.obj \	$(BINDIR)\kbdmgr.obj \	$(BINDIR)\video.obj \	$(QP_LIBDIR)\qep.lib \	$(QP_LIBDIR)\qf.lib	$(LINK) $(LINKFLAGS)$(BINDIR)\bsp.obj: $(BLDDIR)\bsp.cpp $(APP_DEP) $(QP_DEP)	$(CC) $(CCFLAGS) $(CCINC) $<$(BINDIR)\main.obj: $(BLDDIR)\main.cpp $(APP_DEP) $(QP_DEP)	$(CC) $(CCFLAGS) $(CCINC) $<$(BINDIR)\philo.obj: $(BLDDIR)\philo.cpp $(APP_DEP) $(QP_DEP)	$(CC) $(CCFLAGS) $(CCINC) $<$(BINDIR)\table.obj: $(BLDDIR)\table.cpp $(APP_DEP) $(QP_DEP)	$(CC) $(CCFLAGS) $(CCINC) $<$(BINDIR)\kbdmgr.obj: $(BLDDIR)\kbdmgr.cpp $(APP_DEP) $(QP_DEP)	$(CC) $(CCFLAGS) $(CCINC) $<$(BINDIR)\video.obj: $(BLDDIR)\video.cpp $(APP_DEP) $(QP_DEP)	$(CC) $(CCFLAGS) $(CCINC) $<dbg: $(BINDIR)\qdpp.exerel: $(BINDIR)\qdpp.exespy: $(BINDIR)\qdpp.exe# clean targets....PHONY: clean rel_clean spy_cleanrel_clean: cleanspy_clean: cleandbg_clean: cleanclean:	$(RM) $(BINDIR)\*.obj	$(RM) $(BINDIR)\*.map	$(RM) $(BINDIR)\*.exe

⌨️ 快捷键说明

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