2 # Generated Makefile - do not edit!
4 # Edit the Makefile in the project folder instead (../Makefile). Each target
5 # has a -pre and a -post target defined where you can add customized code.
7 # This makefile implements configuration specific macros and targets.
10 # Include project Makefile
11 ifeq "${IGNORE_LOCAL}" "TRUE"
12 # do not include local makefile. User is passing all local related variables already
15 # Include makefile containing local settings
16 ifeq "$(wildcard nbproject/Makefile-local-XC8_PIC12F1840.mk)" "nbproject/Makefile-local-XC8_PIC12F1840.mk"
17 include nbproject/Makefile-local-XC8_PIC12F1840.mk
28 CND_CONF=XC8_PIC12F1840
29 ifeq ($(TYPE_IMAGE), DEBUG_RUN)
33 FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
38 FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
42 OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE}
44 # Distribution Directory
45 DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE}
47 # Object Files Quoted if spaced
48 OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/configuration_bits.p1 ${OBJECTDIR}/main.p1 ${OBJECTDIR}/user.p1 ${OBJECTDIR}/ws2811.p1
49 POSSIBLE_DEPFILES=${OBJECTDIR}/configuration_bits.p1.d ${OBJECTDIR}/main.p1.d ${OBJECTDIR}/user.p1.d ${OBJECTDIR}/ws2811.p1.d
52 OBJECTFILES=${OBJECTDIR}/configuration_bits.p1 ${OBJECTDIR}/main.p1 ${OBJECTDIR}/user.p1 ${OBJECTDIR}/ws2811.p1
59 ############# Tool locations ##########################################
60 # If you copy a project from one host to another, the path where the #
61 # compiler is installed may be different. #
62 # If you open this project with MPLAB X in the new host, this #
63 # makefile will be regenerated and the paths will be corrected. #
64 #######################################################################
65 # fixDeps replaces a bunch of sed/cat/printf statements that slow down the build
68 .build-conf: ${BUILD_SUBPROJECTS}
69 ${MAKE} -f nbproject/Makefile-XC8_PIC12F1840.mk dist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
71 MP_PROCESSOR_OPTION=12F1840
72 # ------------------------------------------------------------------------------------
73 # Rules for buildStep: compile
74 ifeq ($(TYPE_IMAGE), DEBUG_RUN)
75 ${OBJECTDIR}/configuration_bits.p1: configuration_bits.c nbproject/Makefile-${CND_CONF}.mk
76 @${MKDIR} ${OBJECTDIR}
77 @${RM} ${OBJECTDIR}/configuration_bits.p1.d
78 ${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
79 @-${MV} ${OBJECTDIR}/configuration_bits.d ${OBJECTDIR}/configuration_bits.p1.d
80 @${FIXDEPS} ${OBJECTDIR}/configuration_bits.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
82 ${OBJECTDIR}/main.p1: main.c nbproject/Makefile-${CND_CONF}.mk
83 @${MKDIR} ${OBJECTDIR}
84 @${RM} ${OBJECTDIR}/main.p1.d
85 ${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
86 @-${MV} ${OBJECTDIR}/main.d ${OBJECTDIR}/main.p1.d
87 @${FIXDEPS} ${OBJECTDIR}/main.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
89 ${OBJECTDIR}/user.p1: user.c nbproject/Makefile-${CND_CONF}.mk
90 @${MKDIR} ${OBJECTDIR}
91 @${RM} ${OBJECTDIR}/user.p1.d
92 ${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
93 @-${MV} ${OBJECTDIR}/user.d ${OBJECTDIR}/user.p1.d
94 @${FIXDEPS} ${OBJECTDIR}/user.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
96 ${OBJECTDIR}/ws2811.p1: ws2811.c nbproject/Makefile-${CND_CONF}.mk
97 @${MKDIR} ${OBJECTDIR}
98 @${RM} ${OBJECTDIR}/ws2811.p1.d
99 ${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
100 @-${MV} ${OBJECTDIR}/ws2811.d ${OBJECTDIR}/ws2811.p1.d
101 @${FIXDEPS} ${OBJECTDIR}/ws2811.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
104 ${OBJECTDIR}/configuration_bits.p1: configuration_bits.c nbproject/Makefile-${CND_CONF}.mk
105 @${MKDIR} ${OBJECTDIR}
106 @${RM} ${OBJECTDIR}/configuration_bits.p1.d
107 ${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
108 @-${MV} ${OBJECTDIR}/configuration_bits.d ${OBJECTDIR}/configuration_bits.p1.d
109 @${FIXDEPS} ${OBJECTDIR}/configuration_bits.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
111 ${OBJECTDIR}/main.p1: main.c nbproject/Makefile-${CND_CONF}.mk
112 @${MKDIR} ${OBJECTDIR}
113 @${RM} ${OBJECTDIR}/main.p1.d
114 ${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
115 @-${MV} ${OBJECTDIR}/main.d ${OBJECTDIR}/main.p1.d
116 @${FIXDEPS} ${OBJECTDIR}/main.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
118 ${OBJECTDIR}/user.p1: user.c nbproject/Makefile-${CND_CONF}.mk
119 @${MKDIR} ${OBJECTDIR}
120 @${RM} ${OBJECTDIR}/user.p1.d
121 ${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
122 @-${MV} ${OBJECTDIR}/user.d ${OBJECTDIR}/user.p1.d
123 @${FIXDEPS} ${OBJECTDIR}/user.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
125 ${OBJECTDIR}/ws2811.p1: ws2811.c nbproject/Makefile-${CND_CONF}.mk
126 @${MKDIR} ${OBJECTDIR}
127 @${RM} ${OBJECTDIR}/ws2811.p1.d
128 ${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
129 @-${MV} ${OBJECTDIR}/ws2811.d ${OBJECTDIR}/ws2811.p1.d
130 @${FIXDEPS} ${OBJECTDIR}/ws2811.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
134 # ------------------------------------------------------------------------------------
135 # Rules for buildStep: assemble
136 ifeq ($(TYPE_IMAGE), DEBUG_RUN)
140 # ------------------------------------------------------------------------------------
141 # Rules for buildStep: link
142 ifeq ($(TYPE_IMAGE), DEBUG_RUN)
143 dist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
144 @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
145 ${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}
146 @${RM} dist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.hex
149 dist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
150 @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
151 ${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}
164 .clean-conf: ${CLEAN_SUBPROJECTS}
165 ${RM} -r build/XC8_PIC12F1840
166 ${RM} -r dist/XC8_PIC12F1840
168 # Enable dependency checking
169 .dep.inc: .depcheck-impl
171 DEPFILES=$(shell "${PATH_TO_IDE_BIN}"mplabwildcard ${POSSIBLE_DEPFILES})