Files

Makefile-default.mk
# # Generated Makefile - do not edit! # # Edit the Makefile in the project folder instead (../Makefile). Each target # has a -pre and a -post target defined where you can add customized code. # # This makefile implements configuration specific macros and targets. # Include project Makefile ifeq "${IGNORE_LOCAL}" "TRUE" # do not include local makefile. User is passing all local related variables already else include Makefile # Include makefile containing local settings ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk" include nbproject/Makefile-local-default.mk endif endif # Environment MKDIR=gnumkdir -p RM=rm -f MV=mv CP=cp # Macros CND_CONF=default ifeq ($(TYPE_IMAGE), DEBUG_RUN) IMAGE_TYPE=debug OUTPUT_SUFFIX=elf DEBUGGABLE_SUFFIX=elf FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/SD.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} else IMAGE_TYPE=production OUTPUT_SUFFIX=hex DEBUGGABLE_SUFFIX=elf FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/SD.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} endif # Object Directory OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE} # Distribution Directory DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE} # Source Files Quoted if spaced SOURCEFILES_QUOTED_IF_SPACED=SDmain.c FSIO.c SD-SPI.c MP3Codec.c # Object Files Quoted if spaced OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/SDmain.o ${OBJECTDIR}/FSIO.o ${OBJECTDIR}/SD-SPI.o ${OBJECTDIR}/MP3Codec.o POSSIBLE_DEPFILES=${OBJECTDIR}/SDmain.o.d ${OBJECTDIR}/FSIO.o.d ${OBJECTDIR}/SD-SPI.o.d ${OBJECTDIR}/MP3Codec.o.d # Object Files OBJECTFILES=${OBJECTDIR}/SDmain.o ${OBJECTDIR}/FSIO.o ${OBJECTDIR}/SD-SPI.o ${OBJECTDIR}/MP3Codec.o # Source Files SOURCEFILES=SDmain.c FSIO.c SD-SPI.c MP3Codec.c CFLAGS= ASFLAGS= LDLIBSOPTIONS= ############# Tool locations ########################################## # If you copy a project from one host to another, the path where the # # compiler is installed may be different. # # If you open this project with MPLAB X in the new host, this # # makefile will be regenerated and the paths will be corrected. # ####################################################################### # fixDeps replaces a bunch of sed/cat/printf statements that slow down the build FIXDEPS=fixDeps .build-conf: ${BUILD_SUBPROJECTS} ifneq ($(INFORMATION_MESSAGE), ) @echo $(INFORMATION_MESSAGE) endif ${MAKE} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/SD.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} MP_PROCESSOR_OPTION=33FJ256GP710A MP_LINKER_FILE_OPTION=,--script=p33FJ256GP710A.gld # ------------------------------------------------------------------------------------ # Rules for buildStep: compile ifeq ($(TYPE_IMAGE), DEBUG_RUN) ${OBJECTDIR}/SDmain.o: SDmain.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} "${OBJECTDIR}" @${RM} ${OBJECTDIR}/SDmain.o.d @${RM} ${OBJECTDIR}/SDmain.o ${MP_CC} $(MP_EXTRA_CC_PRE) SDmain.c -o ${OBJECTDIR}/SDmain.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/SDmain.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -O0 -msmart-io=1 -Wall -msfr-warn=off @${FIXDEPS} "${OBJECTDIR}/SDmain.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ ${OBJECTDIR}/FSIO.o: FSIO.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} "${OBJECTDIR}" @${RM} ${OBJECTDIR}/FSIO.o.d @${RM} ${OBJECTDIR}/FSIO.o ${MP_CC} $(MP_EXTRA_CC_PRE) FSIO.c -o ${OBJECTDIR}/FSIO.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/FSIO.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -O0 -msmart-io=1 -Wall -msfr-warn=off @${FIXDEPS} "${OBJECTDIR}/FSIO.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ ${OBJECTDIR}/SD-SPI.o: SD-SPI.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} "${OBJECTDIR}" @${RM} ${OBJECTDIR}/SD-SPI.o.d @${RM} ${OBJECTDIR}/SD-SPI.o ${MP_CC} $(MP_EXTRA_CC_PRE) SD-SPI.c -o ${OBJECTDIR}/SD-SPI.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/SD-SPI.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -O0 -msmart-io=1 -Wall -msfr-warn=off @${FIXDEPS} "${OBJECTDIR}/SD-SPI.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ ${OBJECTDIR}/MP3Codec.o: MP3Codec.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} "${OBJECTDIR}" @${RM} ${OBJECTDIR}/MP3Codec.o.d @${RM} ${OBJECTDIR}/MP3Codec.o ${MP_CC} $(MP_EXTRA_CC_PRE) MP3Codec.c -o ${OBJECTDIR}/MP3Codec.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/MP3Codec.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -O0 -msmart-io=1 -Wall -msfr-warn=off @${FIXDEPS} "${OBJECTDIR}/MP3Codec.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ else ${OBJECTDIR}/SDmain.o: SDmain.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} "${OBJECTDIR}" @${RM} ${OBJECTDIR}/SDmain.o.d @${RM} ${OBJECTDIR}/SDmain.o ${MP_CC} $(MP_EXTRA_CC_PRE) SDmain.c -o ${OBJECTDIR}/SDmain.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/SDmain.o.d" -g -omf=elf -O0 -msmart-io=1 -Wall -msfr-warn=off @${FIXDEPS} "${OBJECTDIR}/SDmain.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ ${OBJECTDIR}/FSIO.o: FSIO.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} "${OBJECTDIR}" @${RM} ${OBJECTDIR}/FSIO.o.d @${RM} ${OBJECTDIR}/FSIO.o ${MP_CC} $(MP_EXTRA_CC_PRE) FSIO.c -o ${OBJECTDIR}/FSIO.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/FSIO.o.d" -g -omf=elf -O0 -msmart-io=1 -Wall -msfr-warn=off @${FIXDEPS} "${OBJECTDIR}/FSIO.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ ${OBJECTDIR}/SD-SPI.o: SD-SPI.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} "${OBJECTDIR}" @${RM} ${OBJECTDIR}/SD-SPI.o.d @${RM} ${OBJECTDIR}/SD-SPI.o ${MP_CC} $(MP_EXTRA_CC_PRE) SD-SPI.c -o ${OBJECTDIR}/SD-SPI.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/SD-SPI.o.d" -g -omf=elf -O0 -msmart-io=1 -Wall -msfr-warn=off @${FIXDEPS} "${OBJECTDIR}/SD-SPI.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ ${OBJECTDIR}/MP3Codec.o: MP3Codec.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} "${OBJECTDIR}" @${RM} ${OBJECTDIR}/MP3Codec.o.d @${RM} ${OBJECTDIR}/MP3Codec.o ${MP_CC} $(MP_EXTRA_CC_PRE) MP3Codec.c -o ${OBJECTDIR}/MP3Codec.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/MP3Codec.o.d" -g -omf=elf -O0 -msmart-io=1 -Wall -msfr-warn=off @${FIXDEPS} "${OBJECTDIR}/MP3Codec.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ endif # ------------------------------------------------------------------------------------ # Rules for buildStep: assemble ifeq ($(TYPE_IMAGE), DEBUG_RUN) else endif # ------------------------------------------------------------------------------------ # Rules for buildStep: assemblePreproc ifeq ($(TYPE_IMAGE), DEBUG_RUN) else endif # ------------------------------------------------------------------------------------ # Rules for buildStep: link ifeq ($(TYPE_IMAGE), DEBUG_RUN) dist/${CND_CONF}/${IMAGE_TYPE}/SD.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/SD.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -mreserve=data@0x800:0x81F -mreserve=data@0x820:0x821 -mreserve=data@0x822:0x823 -mreserve=data@0x824:0x825 -mreserve=data@0x826:0x84F -Wl,,--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1,--defsym=__MPLAB_DEBUGGER_ICD3=1,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--report-mem,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml$(MP_EXTRA_LD_POST) else dist/${CND_CONF}/${IMAGE_TYPE}/SD.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/SD.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -omf=elf -Wl,,--defsym=__MPLAB_BUILD=1,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--report-mem,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml$(MP_EXTRA_LD_POST) ${MP_CC_DIR}\\xc16-bin2hex dist/${CND_CONF}/${IMAGE_TYPE}/SD.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -a -omf=elf endif # Subprojects .build-subprojects: # Subprojects .clean-subprojects: # Clean Targets .clean-conf: ${CLEAN_SUBPROJECTS} ${RM} -r build/default ${RM} -r dist/default # Enable dependency checking .dep.inc: .depcheck-impl DEPFILES=$(shell mplabwildcard ${POSSIBLE_DEPFILES}) ifneq (${DEPFILES},) include ${DEPFILES} endif
Report a bug