2024-07-02 22:27:57 +00:00
|
|
|
#
|
|
|
|
# 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-attiny404.mk)" "nbproject/Makefile-local-attiny404.mk"
|
|
|
|
include nbproject/Makefile-local-attiny404.mk
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Environment
|
|
|
|
MKDIR=mkdir -p
|
|
|
|
RM=rm -f
|
|
|
|
MV=mv
|
|
|
|
CP=cp
|
|
|
|
|
|
|
|
# Macros
|
|
|
|
CND_CONF=attiny404
|
|
|
|
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
|
|
|
IMAGE_TYPE=debug
|
|
|
|
OUTPUT_SUFFIX=elf
|
|
|
|
DEBUGGABLE_SUFFIX=elf
|
2024-07-10 02:38:56 +00:00
|
|
|
FINAL_IMAGE=${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
2024-07-02 22:27:57 +00:00
|
|
|
else
|
|
|
|
IMAGE_TYPE=production
|
|
|
|
OUTPUT_SUFFIX=hex
|
|
|
|
DEBUGGABLE_SUFFIX=elf
|
2024-07-10 02:38:56 +00:00
|
|
|
FINAL_IMAGE=${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
2024-07-02 22:27:57 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(COMPARE_BUILD), true)
|
|
|
|
COMPARISON_BUILD=-mafrlcsj
|
|
|
|
else
|
|
|
|
COMPARISON_BUILD=
|
|
|
|
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=main.c ADC.c RegEdit.c TriacOut.c zero_cross_detection.c load.c
|
|
|
|
|
|
|
|
# Object Files Quoted if spaced
|
|
|
|
OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/main.o ${OBJECTDIR}/ADC.o ${OBJECTDIR}/RegEdit.o ${OBJECTDIR}/TriacOut.o ${OBJECTDIR}/zero_cross_detection.o ${OBJECTDIR}/load.o
|
|
|
|
POSSIBLE_DEPFILES=${OBJECTDIR}/main.o.d ${OBJECTDIR}/ADC.o.d ${OBJECTDIR}/RegEdit.o.d ${OBJECTDIR}/TriacOut.o.d ${OBJECTDIR}/zero_cross_detection.o.d ${OBJECTDIR}/load.o.d
|
|
|
|
|
|
|
|
# Object Files
|
|
|
|
OBJECTFILES=${OBJECTDIR}/main.o ${OBJECTDIR}/ADC.o ${OBJECTDIR}/RegEdit.o ${OBJECTDIR}/TriacOut.o ${OBJECTDIR}/zero_cross_detection.o ${OBJECTDIR}/load.o
|
|
|
|
|
|
|
|
# Source Files
|
|
|
|
SOURCEFILES=main.c ADC.c RegEdit.c TriacOut.c zero_cross_detection.c load.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
|
2024-07-10 02:38:56 +00:00
|
|
|
${MAKE} -f nbproject/Makefile-attiny404.mk ${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
2024-07-02 22:27:57 +00:00
|
|
|
|
|
|
|
MP_PROCESSOR_OPTION=ATtiny404
|
|
|
|
# ------------------------------------------------------------------------------------
|
|
|
|
# Rules for buildStep: compile
|
|
|
|
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
2024-07-10 02:38:56 +00:00
|
|
|
${OBJECTDIR}/main.o: main.c .generated_files/flags/attiny404/6761bf7248a4cadeb46b4b39803ff87499996ec1 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-02 22:27:57 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
@${RM} ${OBJECTDIR}/main.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/main.o
|
|
|
|
${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_attiny404=$(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
|
|
|
|
|
2024-07-10 02:38:56 +00:00
|
|
|
${OBJECTDIR}/ADC.o: ADC.c .generated_files/flags/attiny404/c45596993967974bbfbe169a719e0e0d21ff893d .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-02 22:27:57 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
@${RM} ${OBJECTDIR}/ADC.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/ADC.o
|
|
|
|
${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_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/ADC.o.d" -MT "${OBJECTDIR}/ADC.o.d" -MT ${OBJECTDIR}/ADC.o -o ${OBJECTDIR}/ADC.o ADC.c
|
|
|
|
|
2024-07-10 02:38:56 +00:00
|
|
|
${OBJECTDIR}/RegEdit.o: RegEdit.c .generated_files/flags/attiny404/cc64545d113e2f1b3161faab1858be38ecc1741c .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-02 22:27:57 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
@${RM} ${OBJECTDIR}/RegEdit.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/RegEdit.o
|
|
|
|
${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_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/RegEdit.o.d" -MT "${OBJECTDIR}/RegEdit.o.d" -MT ${OBJECTDIR}/RegEdit.o -o ${OBJECTDIR}/RegEdit.o RegEdit.c
|
|
|
|
|
2024-07-10 02:38:56 +00:00
|
|
|
${OBJECTDIR}/TriacOut.o: TriacOut.c .generated_files/flags/attiny404/4c8eafab5895fc430ca2d69acdfc255c5b836dc6 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-02 22:27:57 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
@${RM} ${OBJECTDIR}/TriacOut.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/TriacOut.o
|
|
|
|
${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_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/TriacOut.o.d" -MT "${OBJECTDIR}/TriacOut.o.d" -MT ${OBJECTDIR}/TriacOut.o -o ${OBJECTDIR}/TriacOut.o TriacOut.c
|
|
|
|
|
2024-07-10 02:38:56 +00:00
|
|
|
${OBJECTDIR}/zero_cross_detection.o: zero_cross_detection.c .generated_files/flags/attiny404/cf405395db1973f98ef024eb38deac77e84906a6 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-02 22:27:57 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
@${RM} ${OBJECTDIR}/zero_cross_detection.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/zero_cross_detection.o
|
|
|
|
${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_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/zero_cross_detection.o.d" -MT "${OBJECTDIR}/zero_cross_detection.o.d" -MT ${OBJECTDIR}/zero_cross_detection.o -o ${OBJECTDIR}/zero_cross_detection.o zero_cross_detection.c
|
|
|
|
|
2024-07-10 02:38:56 +00:00
|
|
|
${OBJECTDIR}/load.o: load.c .generated_files/flags/attiny404/74e65e7358e6d6fd8bba20823ce6e6935042de9c .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-02 22:27:57 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
@${RM} ${OBJECTDIR}/load.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/load.o
|
|
|
|
${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_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/load.o.d" -MT "${OBJECTDIR}/load.o.d" -MT ${OBJECTDIR}/load.o -o ${OBJECTDIR}/load.o load.c
|
|
|
|
|
|
|
|
else
|
2024-07-10 02:38:56 +00:00
|
|
|
${OBJECTDIR}/main.o: main.c .generated_files/flags/attiny404/d99de9a28e9c79c808fb24e0bb97338639ea58e9 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-02 22:27:57 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
@${RM} ${OBJECTDIR}/main.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/main.o
|
|
|
|
${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_attiny404=$(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
|
|
|
|
|
2024-07-10 02:38:56 +00:00
|
|
|
${OBJECTDIR}/ADC.o: ADC.c .generated_files/flags/attiny404/6c5aa0ea82b90e42a6a5991863c4d1c15ec6df24 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-02 22:27:57 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
@${RM} ${OBJECTDIR}/ADC.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/ADC.o
|
|
|
|
${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_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/ADC.o.d" -MT "${OBJECTDIR}/ADC.o.d" -MT ${OBJECTDIR}/ADC.o -o ${OBJECTDIR}/ADC.o ADC.c
|
|
|
|
|
2024-07-10 02:38:56 +00:00
|
|
|
${OBJECTDIR}/RegEdit.o: RegEdit.c .generated_files/flags/attiny404/8bc989d0d13be0680224accf1044bba9c13e9e06 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-02 22:27:57 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
@${RM} ${OBJECTDIR}/RegEdit.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/RegEdit.o
|
|
|
|
${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_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/RegEdit.o.d" -MT "${OBJECTDIR}/RegEdit.o.d" -MT ${OBJECTDIR}/RegEdit.o -o ${OBJECTDIR}/RegEdit.o RegEdit.c
|
|
|
|
|
2024-07-10 02:38:56 +00:00
|
|
|
${OBJECTDIR}/TriacOut.o: TriacOut.c .generated_files/flags/attiny404/d40fe8acfb56f046a02d783cde612a50adad018d .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-02 22:27:57 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
@${RM} ${OBJECTDIR}/TriacOut.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/TriacOut.o
|
|
|
|
${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_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/TriacOut.o.d" -MT "${OBJECTDIR}/TriacOut.o.d" -MT ${OBJECTDIR}/TriacOut.o -o ${OBJECTDIR}/TriacOut.o TriacOut.c
|
|
|
|
|
2024-07-10 02:38:56 +00:00
|
|
|
${OBJECTDIR}/zero_cross_detection.o: zero_cross_detection.c .generated_files/flags/attiny404/4ee41962ee462e1b43db78ddddd0ee1a7619a9fa .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-02 22:27:57 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
@${RM} ${OBJECTDIR}/zero_cross_detection.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/zero_cross_detection.o
|
|
|
|
${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_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/zero_cross_detection.o.d" -MT "${OBJECTDIR}/zero_cross_detection.o.d" -MT ${OBJECTDIR}/zero_cross_detection.o -o ${OBJECTDIR}/zero_cross_detection.o zero_cross_detection.c
|
|
|
|
|
2024-07-10 02:38:56 +00:00
|
|
|
${OBJECTDIR}/load.o: load.c .generated_files/flags/attiny404/ed741808f7f01207d533233eede6370ae89b6d03 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-02 22:27:57 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
@${RM} ${OBJECTDIR}/load.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/load.o
|
|
|
|
${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_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/load.o.d" -MT "${OBJECTDIR}/load.o.d" -MT ${OBJECTDIR}/load.o -o ${OBJECTDIR}/load.o load.c
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------------
|
|
|
|
# Rules for buildStep: assemble
|
|
|
|
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
|
|
|
else
|
|
|
|
endif
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------------
|
|
|
|
# Rules for buildStep: assembleWithPreprocess
|
|
|
|
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
|
|
|
else
|
|
|
|
endif
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------------
|
|
|
|
# Rules for buildStep: link
|
|
|
|
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
2024-07-10 02:38:56 +00:00
|
|
|
${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
|
2024-07-02 22:27:57 +00:00
|
|
|
@${MKDIR} ${DISTDIR}
|
2024-07-10 02:38:56 +00:00
|
|
|
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.map -D__DEBUG=1 -DXPRJ_attiny404=$(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}/fg004a_test.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/fg004a_test.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
|
|
|
|
@${RM} ${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.hex
|
2024-07-02 22:27:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
else
|
2024-07-10 02:38:56 +00:00
|
|
|
${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
|
2024-07-02 22:27:57 +00:00
|
|
|
@${MKDIR} ${DISTDIR}
|
2024-07-10 02:38:56 +00:00
|
|
|
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.map -DXPRJ_attiny404=$(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}/fg004a_test.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group
|
|
|
|
${MP_CC_DIR}/avr-objcopy -O ihex "${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}" "${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.hex"
|
2024-07-02 22:27:57 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
# Subprojects
|
|
|
|
.build-subprojects:
|
|
|
|
|
|
|
|
|
|
|
|
# Subprojects
|
|
|
|
.clean-subprojects:
|
|
|
|
|
|
|
|
# Clean Targets
|
|
|
|
.clean-conf: ${CLEAN_SUBPROJECTS}
|
|
|
|
${RM} -r ${OBJECTDIR}
|
|
|
|
${RM} -r ${DISTDIR}
|
|
|
|
|
|
|
|
# Enable dependency checking
|
|
|
|
.dep.inc: .depcheck-impl
|
|
|
|
|
|
|
|
DEPFILES=$(wildcard ${POSSIBLE_DEPFILES})
|
|
|
|
ifneq (${DEPFILES},)
|
|
|
|
include ${DEPFILES}
|
|
|
|
endif
|