# MPLAB IDE generated this makefile for use with GNU make.
# Project: picmmc.mcp
# Date: Thu Jan 22 13:43:06 2009

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

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

picmmc.cof : comm.o ff.o main.o mmc.o monitor.o
	$(CC) -mcpu=24FJ128GA010 "comm.o" "ff.o" "main.o" "mmc.o" "monitor.o" -o"picmmc.cof" -Wl,-L"C:\Program Files\Microchip\MPLAB C30\lib",-Tp24FJ128GA010.gld,--defsym=__MPLAB_BUILD=1,-Map="picmmc.map",--report-mem

comm.o : integer.h comm.h pic24f.h ../../../bin/../support/h/p24FJ128GA010.h ../../../bin/../include/yvals.h ../../../bin/../include/string.h comm.c
	$(CC) -mcpu=24FJ128GA010 -x c -c "comm.c" -o"comm.o" -g -Wall -pedantic -Os

ff.o : diskio.h integer.h ff.h ../../../bin/../include/yvals.h ../../../bin/../include/string.h ff.c
	$(CC) -mcpu=24FJ128GA010 -x c -c "ff.c" -o"ff.o" -g -Wall -pedantic -Os

main.o : ff.h diskio.h monitor.h integer.h comm.h pic24f.h ../../../bin/../support/h/p24FJ128GA010.h ../../../bin/../include/yvals.h ../../../bin/../include/string.h main.c
	$(CC) -mcpu=24FJ128GA010 -x c -c "main.c" -o"main.o" -g -Wall -pedantic -Os

mmc.o : integer.h diskio.h ../../../bin/../support/h/p24FJ128GA010.h mmc.c
	$(CC) -mcpu=24FJ128GA010 -x c -c "mmc.c" -o"mmc.o" -g -Wall -pedantic -O1

monitor.o : comm.h integer.h monitor.h ../../../bin/../include/yvals.h ../../../bin/../include/stdarg.h monitor.c
	$(CC) -mcpu=24FJ128GA010 -x c -c "monitor.c" -o"monitor.o" -g -Wall -pedantic -Os

clean : 
	$(RM) "comm.o" "ff.o" "main.o" "mmc.o" "monitor.o" "picmmc.cof" "picmmc.hex"

