# MPLAB IDE generated this makefile for use with GNU make.
# Project: first.mcp
# Date: Mon Jul 05 17:34:34 2010

AS = pic30-as.exe
CC = pic30-gcc.exe
LD = pic30-ld.exe
AR = pic30-ar.exe
HX = pic30-bin2hex.exe
RM = rm

first.hex : first.cof
	$(HX) "first.cof"

first.cof : uart.o main.o io.o func.o
	$(CC) -mcpu=33FJ128MC706 "uart.o" "main.o" "io.o" "func.o" -o"first.cof" -Wl,-Tp33FJ128MC706.gld,--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,--defsym=__MPLAB_DEBUGGER_ICD2=1,--defsym=__ICD2RAM=1,-Map="first.map",--report-mem

uart.o : c:/program\ files/microchip/mplab\ c30/support/dsPIC33F/h/p33fj128mc706.h global.h uart.h uart.c
	$(CC) -mcpu=33FJ128MC706 -x c -c "uart.c" -o"uart.o" -D__DEBUG -D__MPLAB_DEBUGGER_ICD2=1 -g -Wall

main.o : func.h io.h uart.h c:/program\ files/microchip/mplab\ c30/support/dsPIC33F/h/p33fj128mc706.h global.h main.c
	$(CC) -mcpu=33FJ128MC706 -x c -c "main.c" -o"main.o" -D__DEBUG -D__MPLAB_DEBUGGER_ICD2=1 -g -Wall

io.o : c:/program\ files/microchip/mplab\ c30/support/dsPIC33F/h/p33fj128mc706.h global.h io.h io.c
	$(CC) -mcpu=33FJ128MC706 -x c -c "io.c" -o"io.o" -D__DEBUG -D__MPLAB_DEBUGGER_ICD2=1 -g -Wall

func.o : uart.h c:/program\ files/microchip/mplab\ c30/support/dsPIC33F/h/p33fj128mc706.h global.h func.h func.c
	$(CC) -mcpu=33FJ128MC706 -x c -c "func.c" -o"func.o" -D__DEBUG -D__MPLAB_DEBUGGER_ICD2=1 -g -Wall

clean : 
	$(RM) "uart.o" "main.o" "io.o" "func.o" "first.cof" "first.hex"

