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

📄 makefile

📁 sharp s Lh75401 PWM audio的例子
💻
字号:

BSP 	=kev75401
CSP	=lh754xx
GEN	=abl
TOOL	=
SOURCE  =../../../source
LINC    =../../../include

########################################################################
#
# Pick up the default build rules 
#
########################################################################

include $(SHARPMCU_SOFTWARE)/makerule/$(CSP)/make.$(CSP).$(TOOL)

########################################################################
#
# Pick up the assembler and C source files in the directory  
#
########################################################################
ifeq ($(TOOL), gnu)
ASM_EXT	=asm
endif

ifeq ($(TOOL), arm)
ASM_EXT	=s
endif

ifeq ($(TOOL), ghs)
ASM_EXT	=as
endif

OBJS  =$(SRC:%.c=%.o) $(ASM:%.$(ASM_EXT)=%.o)
AFLAGS +=-I$(LINC)
CFLAGS +=-g -I$(LINC)

########################################################################
#
# Compile the code base 
#
########################################################################

include $(SHARPMCU_SOFTWARE)/makerule/common/make.rules.build


⌨️ 快捷键说明

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