36ae0b51729bbc39ff1f436c9be49fb5caa67f0e
[goggles] / nbproject / Makefile-XC8_PIC12F1840.mk
1 #
2 # Generated Makefile - do not edit!
3 #
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.
6 #
7 # This makefile implements configuration specific macros and targets.
8
9
10 # Include project Makefile
11 ifeq "${IGNORE_LOCAL}" "TRUE"
12 # do not include local makefile. User is passing all local related variables already
13 else
14 include Makefile
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
18 endif
19 endif
20
21 # Environment
22 MKDIR=mkdir -p
23 RM=rm -f 
24 MV=mv 
25 CP=cp 
26
27 # Macros
28 CND_CONF=XC8_PIC12F1840
29 ifeq ($(TYPE_IMAGE), DEBUG_RUN)
30 IMAGE_TYPE=debug
31 OUTPUT_SUFFIX=cof
32 DEBUGGABLE_SUFFIX=cof
33 FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
34 else
35 IMAGE_TYPE=production
36 OUTPUT_SUFFIX=hex
37 DEBUGGABLE_SUFFIX=cof
38 FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
39 endif
40
41 # Object Directory
42 OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE}
43
44 # Distribution Directory
45 DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE}
46
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
50
51 # Object Files
52 OBJECTFILES=${OBJECTDIR}/configuration_bits.p1 ${OBJECTDIR}/main.p1 ${OBJECTDIR}/user.p1 ${OBJECTDIR}/ws2811.p1
53
54
55 CFLAGS=
56 ASFLAGS=
57 LDLIBSOPTIONS=
58
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
66 FIXDEPS=fixDeps
67
68 .build-conf:  ${BUILD_SUBPROJECTS}
69         ${MAKE}  -f nbproject/Makefile-XC8_PIC12F1840.mk dist/${CND_CONF}/${IMAGE_TYPE}/goggles_v2.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
70
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}../  
81         
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}../  
88         
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}../  
95         
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}../  
102         
103 else
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}../  
110         
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}../  
117         
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}../  
124         
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}../  
131         
132 endif
133
134 # ------------------------------------------------------------------------------------
135 # Rules for buildStep: assemble
136 ifeq ($(TYPE_IMAGE), DEBUG_RUN)
137 else
138 endif
139
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 
147         
148 else
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}     
152         
153 endif
154
155
156 # Subprojects
157 .build-subprojects:
158
159
160 # Subprojects
161 .clean-subprojects:
162
163 # Clean Targets
164 .clean-conf: ${CLEAN_SUBPROJECTS}
165         ${RM} -r build/XC8_PIC12F1840
166         ${RM} -r dist/XC8_PIC12F1840
167
168 # Enable dependency checking
169 .dep.inc: .depcheck-impl
170
171 DEPFILES=$(shell "${PATH_TO_IDE_BIN}"mplabwildcard ${POSSIBLE_DEPFILES})
172 ifneq (${DEPFILES},)
173 include ${DEPFILES}
174 endif