main.mak

来自「设计大赛寻迹小车题目程序」· MAK 代码 · 共 29 行

MAK
29
字号
CC = iccavr
CFLAGS =  -ID:\PROGRA~1\icc\include\ -e -DATMEGA -DATMega32  -l -g -Mavr_enhanced 
ASFLAGS = $(CFLAGS)  -Wa-g
LFLAGS =  -LD:\PROGRA~1\icc\lib\ -g -ucrtatmega.o -bfunc_lit:0x54.0x8000 -dram_end:0x85f -bdata:0x60.0x85f -dhwstk_size:16 -beeprom:1.1024 -fihx_coff -S2
FILES = motor.o interupts.o init_device.o unit.o main.o 

main:	$(FILES)
	$(CC) -o main $(LFLAGS) @main.lk   -lcatmega
motor.o: D:\桌面\avr程序设计\循迹小车/config.h D:/PROGRA~1/icc/include/iom32v.h D:/PROGRA~1/icc/include/string.h D:/PROGRA~1/icc/include/_const.h D:/PROGRA~1/icc/include/macros.h D:\桌面\avr程序设计\循迹小车/unit.h D:\桌面\avr程序设计\循迹小车/main.h\
 D:\桌面\avr程序设计\循迹小车/motor.h
motor.o:	D:\桌面\avr程序设计\循迹小车\motor.c
	$(CC) -c $(CFLAGS) D:\桌面\avr程序设计\循迹小车\motor.c
interupts.o: D:\桌面\avr程序设计\循迹小车/config.h D:/PROGRA~1/icc/include/iom32v.h D:/PROGRA~1/icc/include/string.h D:/PROGRA~1/icc/include/_const.h D:/PROGRA~1/icc/include/macros.h D:\桌面\avr程序设计\循迹小车/unit.h\
 D:\桌面\avr程序设计\循迹小车/main.h D:\桌面\avr程序设计\循迹小车/motor.h
interupts.o:	D:\桌面\avr程序设计\循迹小车\interupts.c
	$(CC) -c $(CFLAGS) D:\桌面\avr程序设计\循迹小车\interupts.c
init_device.o: D:\桌面\avr程序设计\循迹小车/config.h D:/PROGRA~1/icc/include/iom32v.h D:/PROGRA~1/icc/include/string.h D:/PROGRA~1/icc/include/_const.h D:/PROGRA~1/icc/include/macros.h D:\桌面\avr程序设计\循迹小车/unit.h\
 D:\桌面\avr程序设计\循迹小车/main.h D:\桌面\avr程序设计\循迹小车/motor.h
init_device.o:	D:\桌面\avr程序设计\循迹小车\init_device.c
	$(CC) -c $(CFLAGS) D:\桌面\avr程序设计\循迹小车\init_device.c
unit.o: D:\桌面\avr程序设计\循迹小车/config.h D:/PROGRA~1/icc/include/iom32v.h D:/PROGRA~1/icc/include/string.h D:/PROGRA~1/icc/include/_const.h D:/PROGRA~1/icc/include/macros.h D:\桌面\avr程序设计\循迹小车/unit.h D:\桌面\avr程序设计\循迹小车/main.h\
 D:\桌面\avr程序设计\循迹小车/motor.h
unit.o:	D:\桌面\avr程序设计\循迹小车\unit.c
	$(CC) -c $(CFLAGS) D:\桌面\avr程序设计\循迹小车\unit.c
main.o: D:\桌面\avr程序设计\循迹小车/config.h D:/PROGRA~1/icc/include/iom32v.h D:/PROGRA~1/icc/include/string.h D:/PROGRA~1/icc/include/_const.h D:/PROGRA~1/icc/include/macros.h D:\桌面\avr程序设计\循迹小车/unit.h D:\桌面\avr程序设计\循迹小车/main.h\
 D:\桌面\avr程序设计\循迹小车/motor.h
main.o:	D:\桌面\avr程序设计\循迹小车\main.c
	$(CC) -c $(CFLAGS) D:\桌面\avr程序设计\循迹小车\main.c

⌨️ 快捷键说明

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