makefile
来自「Source code for RFM01 fm radio receiver」· 代码 · 共 49 行
TXT
49 行
# Katalog z bibliotekami u縴tkownika
USRLIB = ../../lib
########### change this lines according to your project ##################
#put the name of the target mcu here (at90s8515, at90s8535, attiny22, atmega603 etc.)
MCU = atmega163
#put the name of the target file here (without extension)
TARGET = main
#put your C sourcefiles here
SRC = $(TARGET).c
#put additional assembler source file here
ASRC =
#additional libraries and object files to link
LIB =
#additional includes to compile
INC =
# Lista plik體 焤骴硂wych bibliotek w j陑yku C
SRCLIB =
#include $(USRLIB)/adc/sources
#include $(USRLIB)/adc_pwm/sources
#include $(USRLIB)/conv/sources
#include $(USRLIB)/lcd/sources
#include $(USRLIB)/i2c/sources
#include $(USRLIB)/i2c_ee/sources
#include $(USRLIB)/kbd/sources
include $(USRLIB)/delay/sources
#include $(USRLIB)/pcf8583/sources
include $(USRLIB)/uart/sources
include $(USRLIB)/ps2kbd/sources
#include $(USRLIB)/spi/sources
#include $(USRLIB)/rtc/sources
#compiler flags
CPFLAGS = -g -O3 -w -Wa,-ahlms=$(<:.c=.lst) -Wno-cast-qual
# CPFLAGS = -g -O3 -Wall -Wstrict-prototypes -Wa,-ahlms=$(<:.c=.lst) -Wno-cast-qual
#linker flags
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref,-lm
########### you should not need to change the following line #############
include $(USRLIB)/avr_make
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?