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

📄 makefile

📁 avr的fat文件系统测试程序
💻
字号:
# Simple Makefile
# Volker Oth (c) 1999


########### change this lines according to your project ##################

#put the name of the target mcu here (at90s8515, at90s8535, attiny22, atmega603 etc.)
	MCU = atmega323

#put the name of the target file here (without extension)
	TRG	= dosreadraw1

#put your C sourcefiles here 
	SRC	= ../lcd.c ../compact.c ../mmc_spi.c ../dir.c ../fat.c ../dos.c ../readraw.c $(TRG).c

#put additional assembler source file here
	ASRC    =

#additional libraries and object files to link
	LIB	=

#additional includes to compile
	INC	= 

#compiler flags
#	CPFLAGS	= -g -Wall -Wstrict-prototypes -Wa,-ahlms=$(<:.c=.lst)
	CPFLAGS	= -g -Os -Wall -Wstrict-prototypes -Wa,-ahlms=$(<:.c=.lst)

#linker flags
	LDFLAGS = -Wl,-Map=$(TRG).map,--cref

########### you should not need to change the following line #############
include $(AVR)/include/avr_make

###### dependecies, add any dependencies you need here ###################
lcd.o : lcd.c
compact.o : compact.c
mmc_spi.o : mmc_spi.c
fat.o : fat.c
dos.o : dos.c
dir.o : dir.c
readraw.o : readraw.c
$(TRG).o : $(TRG).c

⌨️ 快捷键说明

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