Who to use ECAN network with dsPIC33F, Microchip microcontroller.
源代码在线查看: makefile
# MPLAB IDE generated this makefile for use with GNU make.
# Project: bus CAN 30F.mcp
# Date: Fri Mar 06 15:49:00 2009
AS = pic30-as.exe
CC = pic30-gcc.exe
LD = pic30-ld.exe
AR = pic30-ar.exe
HX = pic30-bin2hex.exe
RM = rm
bus\ CAN\ 30F.hex : bus\ CAN\ 30F.cof
$(HX) "bus CAN 30F.cof"
bus\ CAN\ 30F.cof : main_30F.o
$(CC) -mcpu=30F4011 "main_30F.o" "E:\Programmes Vista\Microchip\MPLAB C30\lib\dsPIC30F\libp30F4011-coff.a" -o"bus CAN 30F.cof" -Wl,-Tp30F4011.gld,--defsym=__MPLAB_BUILD=1,-Map="bus CAN 30F.map",--report-mem
main_30F.o : e:/programmes\ vista/microchip/mplab\ c30/bin/bin/../../support/dsPIC30F/h/p30f4011.h e:/programmes\ vista/microchip/mplab\ c30/bin/bin/../../support/dsPIC30F/h/p30fxxxx.h e:/programmes\ vista/microchip/mplab\ c30/bin/bin/../../support/peripheral_30F_24H_33F/can.h e:/programmes\ vista/microchip/mplab\ c30/bin/bin/../../support/dsPIC30F/h/p30f4011.h main_30F.c
$(CC) -mcpu=30F4011 -x c -c "main_30F.c" -o"main_30F.o" -g -Wall
clean :
$(RM) "main_30F.o" "bus CAN 30F.cof" "bus CAN 30F.hex"