root / Version 0.5 / Panel_reader_controller.X / nbproject / Makefile-default.mk @ master
Historique | Voir | Annoter | Télécharger (6,561 ko)
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-default.mk)" "nbproject/Makefile-local-default.mk" |
17 |
include nbproject/Makefile-local-default.mk |
18 |
endif |
19 |
endif |
20 |
|
21 |
# Environment |
22 |
MKDIR=gnumkdir -p |
23 |
RM=rm -f |
24 |
MV=mv |
25 |
CP=cp |
26 |
|
27 |
# Macros |
28 |
CND_CONF=default |
29 |
ifeq ($(TYPE_IMAGE), DEBUG_RUN) |
30 |
IMAGE_TYPE=debug |
31 |
OUTPUT_SUFFIX=elf |
32 |
DEBUGGABLE_SUFFIX=elf |
33 |
FINAL_IMAGE=${DISTDIR}/Panel_reader_controller.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} |
34 |
else |
35 |
IMAGE_TYPE=production |
36 |
OUTPUT_SUFFIX=hex |
37 |
DEBUGGABLE_SUFFIX=elf |
38 |
FINAL_IMAGE=${DISTDIR}/Panel_reader_controller.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} |
39 |
endif |
40 |
|
41 |
ifeq ($(COMPARE_BUILD), true) |
42 |
COMPARISON_BUILD=-mafrlcsj |
43 |
else |
44 |
COMPARISON_BUILD= |
45 |
endif |
46 |
|
47 |
# Object Directory |
48 |
OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE} |
49 |
|
50 |
# Distribution Directory |
51 |
DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE} |
52 |
|
53 |
# Source Files Quoted if spaced |
54 |
SOURCEFILES_QUOTED_IF_SPACED=main.c |
55 |
|
56 |
# Object Files Quoted if spaced |
57 |
OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/main.o |
58 |
POSSIBLE_DEPFILES=${OBJECTDIR}/main.o.d |
59 |
|
60 |
# Object Files |
61 |
OBJECTFILES=${OBJECTDIR}/main.o |
62 |
|
63 |
# Source Files |
64 |
SOURCEFILES=main.c |
65 |
|
66 |
|
67 |
|
68 |
CFLAGS= |
69 |
ASFLAGS= |
70 |
LDLIBSOPTIONS= |
71 |
|
72 |
############# Tool locations ########################################## |
73 |
# If you copy a project from one host to another, the path where the # |
74 |
# compiler is installed may be different. # |
75 |
# If you open this project with MPLAB X in the new host, this # |
76 |
# makefile will be regenerated and the paths will be corrected. # |
77 |
####################################################################### |
78 |
# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build |
79 |
FIXDEPS=fixDeps |
80 |
|
81 |
.build-conf: ${BUILD_SUBPROJECTS} |
82 |
ifneq ($(INFORMATION_MESSAGE), ) |
83 |
@echo $(INFORMATION_MESSAGE) |
84 |
endif |
85 |
${MAKE} -f nbproject/Makefile-default.mk ${DISTDIR}/Panel_reader_controller.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} |
86 |
|
87 |
MP_PROCESSOR_OPTION=ATtiny826 |
88 |
# ------------------------------------------------------------------------------------ |
89 |
# Rules for buildStep: compile |
90 |
ifeq ($(TYPE_IMAGE), DEBUG_RUN) |
91 |
${OBJECTDIR}/main.o: main.c .generated_files/flags/default/5dd84e98093f7971548bf1431a93e252a220bd51 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 |
92 |
@${MKDIR} "${OBJECTDIR}" |
93 |
@${RM} ${OBJECTDIR}/main.o.d |
94 |
@${RM} ${OBJECTDIR}/main.o |
95 |
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -g -DDEBUG -gdwarf-2 -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="${DFP_DIR}/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/main.o.d" -MT "${OBJECTDIR}/main.o.d" -MT ${OBJECTDIR}/main.o -o ${OBJECTDIR}/main.o main.c |
96 |
|
97 |
else |
98 |
${OBJECTDIR}/main.o: main.c .generated_files/flags/default/b96fca17d599584f41492ff66125b9a9a0e64339 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 |
99 |
@${MKDIR} "${OBJECTDIR}" |
100 |
@${RM} ${OBJECTDIR}/main.o.d |
101 |
@${RM} ${OBJECTDIR}/main.o |
102 |
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="${DFP_DIR}/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/main.o.d" -MT "${OBJECTDIR}/main.o.d" -MT ${OBJECTDIR}/main.o -o ${OBJECTDIR}/main.o main.c |
103 |
|
104 |
endif |
105 |
|
106 |
# ------------------------------------------------------------------------------------ |
107 |
# Rules for buildStep: assemble |
108 |
ifeq ($(TYPE_IMAGE), DEBUG_RUN) |
109 |
else |
110 |
endif |
111 |
|
112 |
# ------------------------------------------------------------------------------------ |
113 |
# Rules for buildStep: assembleWithPreprocess |
114 |
ifeq ($(TYPE_IMAGE), DEBUG_RUN) |
115 |
else |
116 |
endif |
117 |
|
118 |
# ------------------------------------------------------------------------------------ |
119 |
# Rules for buildStep: link |
120 |
ifeq ($(TYPE_IMAGE), DEBUG_RUN) |
121 |
${DISTDIR}/Panel_reader_controller.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk |
122 |
@${MKDIR} ${DISTDIR} |
123 |
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/Panel_reader_controller.X.${IMAGE_TYPE}.map -D__DEBUG=1 -DXPRJ_default=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="${DFP_DIR}/xc8" -gdwarf-2 -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -gdwarf-3 -mno-const-data-in-progmem $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/Panel_reader_controller.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/Panel_reader_controller.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1 |
124 |
@${RM} ${DISTDIR}/Panel_reader_controller.X.${IMAGE_TYPE}.hex |
125 |
|
126 |
|
127 |
else |
128 |
${DISTDIR}/Panel_reader_controller.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk |
129 |
@${MKDIR} ${DISTDIR} |
130 |
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/Panel_reader_controller.X.${IMAGE_TYPE}.map -DXPRJ_default=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="${DFP_DIR}/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -gdwarf-3 -mno-const-data-in-progmem $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/Panel_reader_controller.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/Panel_reader_controller.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group |
131 |
${MP_CC_DIR}\\avr-objcopy -O ihex "${DISTDIR}/Panel_reader_controller.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}" "${DISTDIR}/Panel_reader_controller.X.${IMAGE_TYPE}.hex" |
132 |
|
133 |
endif |
134 |
|
135 |
|
136 |
# Subprojects |
137 |
.build-subprojects: |
138 |
|
139 |
|
140 |
# Subprojects |
141 |
.clean-subprojects: |
142 |
|
143 |
# Clean Targets |
144 |
.clean-conf: ${CLEAN_SUBPROJECTS} |
145 |
${RM} -r ${OBJECTDIR} |
146 |
${RM} -r ${DISTDIR} |
147 |
|
148 |
# Enable dependency checking |
149 |
.dep.inc: .depcheck-impl |
150 |
|
151 |
DEPFILES=$(wildcard ${POSSIBLE_DEPFILES}) |
152 |
ifneq (${DEPFILES},) |
153 |
include ${DEPFILES} |
154 |
endif |