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

📄 makefile

📁 本例程是描述了通过PIC33FXXX单片机的I2C接口实现对单片机外围EEPROM的访问
💻
字号:
# MPLAB IDE generated this makefile for use with GNU make.
# Project: I2Ctest1.mcp
# Date: Thu Nov 27 21:55:13 2008

AS = pic30-as.exe
CC = pic30-gcc.exe
LD = pic30-ld.exe
AR = pic30-ar.exe
HX = pic30-bin2hex.exe
RM = rm

I2Ctest1.hex : I2Ctest1.cof
	$(HX) "I2Ctest1.cof"

I2Ctest1.cof : i2cEmem.o main.o traps.o
	$(CC) -mcpu=33FJ64GP206 "i2cEmem.o" "main.o" "traps.o" -o"I2Ctest1.cof" -Wl,-L"D:\Microchip(8.0)\MPLAB C30\lib",--script="..\..\MPLAB C30\support\gld\p33FJ64GP206.gld",--defsym=__MPLAB_BUILD=1,-Map="I2Ctest1.map",--report-mem

i2cEmem.o : h/i2cEmem.h ../../mplab\ c30/bin/../support/h/p33FJ64GP206.h ../../mplab\ c30/bin/../support/h/p33Fxxxx.h src/i2cEmem.c
	$(CC) -mcpu=33FJ64GP206 -x c -c "src\i2cEmem.c" -o"i2cEmem.o" -g -Wall

main.o : h/i2cEmem.h ../../mplab\ c30/bin/../support/h/p33FJ64GP206.h ../../mplab\ c30/bin/../support/h/p33Fxxxx.h src/main.c
	$(CC) -mcpu=33FJ64GP206 -x c -c "src\main.c" -o"main.o" -g -Wall

traps.o : ../../mplab\ c30/bin/../support/h/p33FJ64GP206.h ../../mplab\ c30/bin/../support/h/p33fxxxx.h src/traps.c
	$(CC) -mcpu=33FJ64GP206 -x c -c "src\traps.c" -o"traps.o" -g -Wall

clean : 
	$(RM) "i2cEmem.o" "main.o" "traps.o" "I2Ctest1.cof" "I2Ctest1.hex"

⌨️ 快捷键说明

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