# # 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-XC8_PIC12F1840.mk)" "nbproject/Makefile-local-XC8_PIC12F1840.mk" include nbproject/Makefile-local-XC8_PIC12F1840.mk endif endif # Environment MKDIR=mkdir -p RM=rm -f MV=mv CP=cp # Macros CND_CONF=XC8_PIC12F1840 ifeq ($(TYPE_IMAGE), DEBUG_RUN) IMAGE_TYPE=debug OUTPUT_SUFFIX=cof DEBUGGABLE_SUFFIX=cof FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.${OUTPUT_SUFFIX} else IMAGE_TYPE=production OUTPUT_SUFFIX=hex DEBUGGABLE_SUFFIX=cof FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.${OUTPUT_SUFFIX} endif # Object Directory OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE} # Distribution Directory DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE} # Object Files Quoted if spaced OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/configuration_bits.p1 ${OBJECTDIR}/main.p1 ${OBJECTDIR}/user.p1 ${OBJECTDIR}/ws2811.p1 POSSIBLE_DEPFILES=${OBJECTDIR}/configuration_bits.p1.d ${OBJECTDIR}/main.p1.d ${OBJECTDIR}/user.p1.d ${OBJECTDIR}/ws2811.p1.d # Object Files OBJECTFILES=${OBJECTDIR}/configuration_bits.p1 ${OBJECTDIR}/main.p1 ${OBJECTDIR}/user.p1 ${OBJECTDIR}/ws2811.p1 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} ${MAKE} -f nbproject/Makefile-XC8_PIC12F1840.mk dist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.${OUTPUT_SUFFIX} MP_PROCESSOR_OPTION=12F1840 # ------------------------------------------------------------------------------------ # Rules for buildStep: compile ifeq ($(TYPE_IMAGE), DEBUG_RUN) ${OBJECTDIR}/configuration_bits.p1: configuration_bits.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} ${OBJECTDIR} @${RM} ${OBJECTDIR}/configuration_bits.p1.d ${MP_CC} --pass1 $(MP_EXTRA_CC_PRE) --chip=$(MP_PROCESSOR_OPTION) -Q -G --asmlist -D__DEBUG=1 --debugger=none --double=24 --float=24 --opt=default,+asm,-asmfile,+speed,-space,+debug --addrqual=ignore --mode=free -P -N255 --warn=0 --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib "--errformat=%f:%l: error: %s" "--warnformat=%f:%l: warning: %s" "--msgformat=%f:%l: advisory: %s" -o${OBJECTDIR}/configuration_bits.p1 configuration_bits.c @-${MV} ${OBJECTDIR}/configuration_bits.d ${OBJECTDIR}/configuration_bits.p1.d @${FIXDEPS} ${OBJECTDIR}/configuration_bits.p1.d $(SILENT) -rsi ${MP_CC_DIR}../ ${OBJECTDIR}/main.p1: main.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} ${OBJECTDIR} @${RM} ${OBJECTDIR}/main.p1.d ${MP_CC} --pass1 $(MP_EXTRA_CC_PRE) --chip=$(MP_PROCESSOR_OPTION) -Q -G --asmlist -D__DEBUG=1 --debugger=none --double=24 --float=24 --opt=default,+asm,-asmfile,+speed,-space,+debug --addrqual=ignore --mode=free -P -N255 --warn=0 --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib "--errformat=%f:%l: error: %s" "--warnformat=%f:%l: warning: %s" "--msgformat=%f:%l: advisory: %s" -o${OBJECTDIR}/main.p1 main.c @-${MV} ${OBJECTDIR}/main.d ${OBJECTDIR}/main.p1.d @${FIXDEPS} ${OBJECTDIR}/main.p1.d $(SILENT) -rsi ${MP_CC_DIR}../ ${OBJECTDIR}/user.p1: user.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} ${OBJECTDIR} @${RM} ${OBJECTDIR}/user.p1.d ${MP_CC} --pass1 $(MP_EXTRA_CC_PRE) --chip=$(MP_PROCESSOR_OPTION) -Q -G --asmlist -D__DEBUG=1 --debugger=none --double=24 --float=24 --opt=default,+asm,-asmfile,+speed,-space,+debug --addrqual=ignore --mode=free -P -N255 --warn=0 --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib "--errformat=%f:%l: error: %s" "--warnformat=%f:%l: warning: %s" "--msgformat=%f:%l: advisory: %s" -o${OBJECTDIR}/user.p1 user.c @-${MV} ${OBJECTDIR}/user.d ${OBJECTDIR}/user.p1.d @${FIXDEPS} ${OBJECTDIR}/user.p1.d $(SILENT) -rsi ${MP_CC_DIR}../ ${OBJECTDIR}/ws2811.p1: ws2811.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} ${OBJECTDIR} @${RM} ${OBJECTDIR}/ws2811.p1.d ${MP_CC} --pass1 $(MP_EXTRA_CC_PRE) --chip=$(MP_PROCESSOR_OPTION) -Q -G --asmlist -D__DEBUG=1 --debugger=none --double=24 --float=24 --opt=default,+asm,-asmfile,+speed,-space,+debug --addrqual=ignore --mode=free -P -N255 --warn=0 --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib "--errformat=%f:%l: error: %s" "--warnformat=%f:%l: warning: %s" "--msgformat=%f:%l: advisory: %s" -o${OBJECTDIR}/ws2811.p1 ws2811.c @-${MV} ${OBJECTDIR}/ws2811.d ${OBJECTDIR}/ws2811.p1.d @${FIXDEPS} ${OBJECTDIR}/ws2811.p1.d $(SILENT) -rsi ${MP_CC_DIR}../ else ${OBJECTDIR}/configuration_bits.p1: configuration_bits.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} ${OBJECTDIR} @${RM} ${OBJECTDIR}/configuration_bits.p1.d ${MP_CC} --pass1 $(MP_EXTRA_CC_PRE) --chip=$(MP_PROCESSOR_OPTION) -Q -G --asmlist --double=24 --float=24 --opt=default,+asm,-asmfile,+speed,-space,+debug --addrqual=ignore --mode=free -P -N255 --warn=0 --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib "--errformat=%f:%l: error: %s" "--warnformat=%f:%l: warning: %s" "--msgformat=%f:%l: advisory: %s" -o${OBJECTDIR}/configuration_bits.p1 configuration_bits.c @-${MV} ${OBJECTDIR}/configuration_bits.d ${OBJECTDIR}/configuration_bits.p1.d @${FIXDEPS} ${OBJECTDIR}/configuration_bits.p1.d $(SILENT) -rsi ${MP_CC_DIR}../ ${OBJECTDIR}/main.p1: main.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} ${OBJECTDIR} @${RM} ${OBJECTDIR}/main.p1.d ${MP_CC} --pass1 $(MP_EXTRA_CC_PRE) --chip=$(MP_PROCESSOR_OPTION) -Q -G --asmlist --double=24 --float=24 --opt=default,+asm,-asmfile,+speed,-space,+debug --addrqual=ignore --mode=free -P -N255 --warn=0 --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib "--errformat=%f:%l: error: %s" "--warnformat=%f:%l: warning: %s" "--msgformat=%f:%l: advisory: %s" -o${OBJECTDIR}/main.p1 main.c @-${MV} ${OBJECTDIR}/main.d ${OBJECTDIR}/main.p1.d @${FIXDEPS} ${OBJECTDIR}/main.p1.d $(SILENT) -rsi ${MP_CC_DIR}../ ${OBJECTDIR}/user.p1: user.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} ${OBJECTDIR} @${RM} ${OBJECTDIR}/user.p1.d ${MP_CC} --pass1 $(MP_EXTRA_CC_PRE) --chip=$(MP_PROCESSOR_OPTION) -Q -G --asmlist --double=24 --float=24 --opt=default,+asm,-asmfile,+speed,-space,+debug --addrqual=ignore --mode=free -P -N255 --warn=0 --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib "--errformat=%f:%l: error: %s" "--warnformat=%f:%l: warning: %s" "--msgformat=%f:%l: advisory: %s" -o${OBJECTDIR}/user.p1 user.c @-${MV} ${OBJECTDIR}/user.d ${OBJECTDIR}/user.p1.d @${FIXDEPS} ${OBJECTDIR}/user.p1.d $(SILENT) -rsi ${MP_CC_DIR}../ ${OBJECTDIR}/ws2811.p1: ws2811.c nbproject/Makefile-${CND_CONF}.mk @${MKDIR} ${OBJECTDIR} @${RM} ${OBJECTDIR}/ws2811.p1.d ${MP_CC} --pass1 $(MP_EXTRA_CC_PRE) --chip=$(MP_PROCESSOR_OPTION) -Q -G --asmlist --double=24 --float=24 --opt=default,+asm,-asmfile,+speed,-space,+debug --addrqual=ignore --mode=free -P -N255 --warn=0 --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib "--errformat=%f:%l: error: %s" "--warnformat=%f:%l: warning: %s" "--msgformat=%f:%l: advisory: %s" -o${OBJECTDIR}/ws2811.p1 ws2811.c @-${MV} ${OBJECTDIR}/ws2811.d ${OBJECTDIR}/ws2811.p1.d @${FIXDEPS} ${OBJECTDIR}/ws2811.p1.d $(SILENT) -rsi ${MP_CC_DIR}../ endif # ------------------------------------------------------------------------------------ # Rules for buildStep: assemble ifeq ($(TYPE_IMAGE), DEBUG_RUN) else endif # ------------------------------------------------------------------------------------ # Rules for buildStep: link ifeq ($(TYPE_IMAGE), DEBUG_RUN) dist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} ${MP_CC} $(MP_EXTRA_LD_PRE) --chip=$(MP_PROCESSOR_OPTION) -G --asmlist -mdist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.map -D__DEBUG=1 --debugger=none --double=24 --float=24 --opt=default,+asm,-asmfile,+speed,-space,+debug --addrqual=ignore --mode=free -P -N255 --warn=0 --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib "--errformat=%f:%l: error: %s" "--warnformat=%f:%l: warning: %s" "--msgformat=%f:%l: advisory: %s" -odist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} @${RM} dist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.hex else dist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} ${MP_CC} $(MP_EXTRA_LD_PRE) --chip=$(MP_PROCESSOR_OPTION) -G --asmlist -mdist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.map --double=24 --float=24 --opt=default,+asm,-asmfile,+speed,-space,+debug --addrqual=ignore --mode=free -P -N255 --warn=0 --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib "--errformat=%f:%l: error: %s" "--warnformat=%f:%l: warning: %s" "--msgformat=%f:%l: advisory: %s" -odist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} endif # Subprojects .build-subprojects: # Subprojects .clean-subprojects: # Clean Targets .clean-conf: ${CLEAN_SUBPROJECTS} ${RM} -r build/XC8_PIC12F1840 ${RM} -r dist/XC8_PIC12F1840 # Enable dependency checking .dep.inc: .depcheck-impl DEPFILES=$(shell "${PATH_TO_IDE_BIN}"mplabwildcard ${POSSIBLE_DEPFILES}) ifneq (${DEPFILES},) include ${DEPFILES} endif