2024-07-27 18:59:09 +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-27 19:20:30 +00:00
|
|
|
FINAL_IMAGE=${DISTDIR}/High.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
2024-07-27 18:59:09 +00:00
|
|
|
else
|
|
|
|
IMAGE_TYPE=production
|
|
|
|
OUTPUT_SUFFIX=hex
|
|
|
|
DEBUGGABLE_SUFFIX=elf
|
2024-07-27 19:20:30 +00:00
|
|
|
FINAL_IMAGE=${DISTDIR}/High.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
2024-07-27 18:59:09 +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
|
2024-09-14 20:10:35 +00:00
|
|
|
SOURCEFILES_QUOTED_IF_SPACED=src/main.c src/ADC/ADC.c src/load/load.c src/RegEdit/RegEdit.c src/usart/usart.c src/zero_cross_detection/zero_cross_detection.c src/Enable/Enable.c src/EnOut/EnOut.c
|
2024-07-27 18:59:09 +00:00
|
|
|
|
|
|
|
# Object Files Quoted if spaced
|
2024-09-14 20:10:35 +00:00
|
|
|
OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/src/main.o ${OBJECTDIR}/src/ADC/ADC.o ${OBJECTDIR}/src/load/load.o ${OBJECTDIR}/src/RegEdit/RegEdit.o ${OBJECTDIR}/src/usart/usart.o ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o ${OBJECTDIR}/src/Enable/Enable.o ${OBJECTDIR}/src/EnOut/EnOut.o
|
|
|
|
POSSIBLE_DEPFILES=${OBJECTDIR}/src/main.o.d ${OBJECTDIR}/src/ADC/ADC.o.d ${OBJECTDIR}/src/load/load.o.d ${OBJECTDIR}/src/RegEdit/RegEdit.o.d ${OBJECTDIR}/src/usart/usart.o.d ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o.d ${OBJECTDIR}/src/Enable/Enable.o.d ${OBJECTDIR}/src/EnOut/EnOut.o.d
|
2024-07-27 18:59:09 +00:00
|
|
|
|
|
|
|
# Object Files
|
2024-09-14 20:10:35 +00:00
|
|
|
OBJECTFILES=${OBJECTDIR}/src/main.o ${OBJECTDIR}/src/ADC/ADC.o ${OBJECTDIR}/src/load/load.o ${OBJECTDIR}/src/RegEdit/RegEdit.o ${OBJECTDIR}/src/usart/usart.o ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o ${OBJECTDIR}/src/Enable/Enable.o ${OBJECTDIR}/src/EnOut/EnOut.o
|
2024-07-27 18:59:09 +00:00
|
|
|
|
|
|
|
# Source Files
|
2024-09-14 20:10:35 +00:00
|
|
|
SOURCEFILES=src/main.c src/ADC/ADC.c src/load/load.c src/RegEdit/RegEdit.c src/usart/usart.c src/zero_cross_detection/zero_cross_detection.c src/Enable/Enable.c src/EnOut/EnOut.c
|
2024-07-27 18:59:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-27 19:20:30 +00:00
|
|
|
${MAKE} -f nbproject/Makefile-attiny404.mk ${DISTDIR}/High.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
2024-07-27 18:59:09 +00:00
|
|
|
|
|
|
|
MP_PROCESSOR_OPTION=ATtiny404
|
|
|
|
# ------------------------------------------------------------------------------------
|
|
|
|
# Rules for buildStep: compile
|
|
|
|
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
2024-09-14 20:10:35 +00:00
|
|
|
${OBJECTDIR}/src/main.o: src/main.c .generated_files/flags/attiny404/4a18d695a6a542a9d305d69379cc82da780a11b5 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}/src"
|
|
|
|
@${RM} ${OBJECTDIR}/src/main.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/main.o
|
2024-09-14 20:10:35 +00:00
|
|
|
${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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/main.o.d" -MT "${OBJECTDIR}/src/main.o.d" -MT ${OBJECTDIR}/src/main.o -o ${OBJECTDIR}/src/main.o src/main.c
|
2024-07-27 18:59:09 +00:00
|
|
|
|
2024-09-14 20:10:35 +00:00
|
|
|
${OBJECTDIR}/src/ADC/ADC.o: src/ADC/ADC.c .generated_files/flags/attiny404/3d8773449273b085d8c9895efb51aa8448aeb455 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}/src/ADC"
|
|
|
|
@${RM} ${OBJECTDIR}/src/ADC/ADC.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/ADC/ADC.o
|
2024-09-14 20:10:35 +00:00
|
|
|
${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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/ADC/ADC.o.d" -MT "${OBJECTDIR}/src/ADC/ADC.o.d" -MT ${OBJECTDIR}/src/ADC/ADC.o -o ${OBJECTDIR}/src/ADC/ADC.o src/ADC/ADC.c
|
2024-07-27 18:59:09 +00:00
|
|
|
|
2024-09-14 20:10:35 +00:00
|
|
|
${OBJECTDIR}/src/load/load.o: src/load/load.c .generated_files/flags/attiny404/d8655bd13f1d067e11d0f4925135b7be028a5b05 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}/src/load"
|
|
|
|
@${RM} ${OBJECTDIR}/src/load/load.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/load/load.o
|
2024-09-14 20:10:35 +00:00
|
|
|
${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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/load/load.o.d" -MT "${OBJECTDIR}/src/load/load.o.d" -MT ${OBJECTDIR}/src/load/load.o -o ${OBJECTDIR}/src/load/load.o src/load/load.c
|
2024-07-27 18:59:09 +00:00
|
|
|
|
2024-09-14 20:10:35 +00:00
|
|
|
${OBJECTDIR}/src/RegEdit/RegEdit.o: src/RegEdit/RegEdit.c .generated_files/flags/attiny404/8277c62e6eb27d324fcb47eadb55ecca38508940 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}/src/RegEdit"
|
|
|
|
@${RM} ${OBJECTDIR}/src/RegEdit/RegEdit.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/RegEdit/RegEdit.o
|
2024-09-14 20:10:35 +00:00
|
|
|
${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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/RegEdit/RegEdit.o.d" -MT "${OBJECTDIR}/src/RegEdit/RegEdit.o.d" -MT ${OBJECTDIR}/src/RegEdit/RegEdit.o -o ${OBJECTDIR}/src/RegEdit/RegEdit.o src/RegEdit/RegEdit.c
|
2024-07-27 18:59:09 +00:00
|
|
|
|
2024-09-14 20:10:35 +00:00
|
|
|
${OBJECTDIR}/src/usart/usart.o: src/usart/usart.c .generated_files/flags/attiny404/7e35114acd779af68f90c57218e2f5fc0d70b230 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}/src/usart"
|
|
|
|
@${RM} ${OBJECTDIR}/src/usart/usart.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/usart/usart.o
|
2024-09-14 20:10:35 +00:00
|
|
|
${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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/usart/usart.o.d" -MT "${OBJECTDIR}/src/usart/usart.o.d" -MT ${OBJECTDIR}/src/usart/usart.o -o ${OBJECTDIR}/src/usart/usart.o src/usart/usart.c
|
2024-07-27 18:59:09 +00:00
|
|
|
|
2024-09-14 20:10:35 +00:00
|
|
|
${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o: src/zero_cross_detection/zero_cross_detection.c .generated_files/flags/attiny404/a574ec10cb6dd0c1c60c2b0c579a60fbb2e44ddc .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}/src/zero_cross_detection"
|
|
|
|
@${RM} ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o
|
2024-09-14 20:10:35 +00:00
|
|
|
${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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o.d" -MT "${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o.d" -MT ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o -o ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o src/zero_cross_detection/zero_cross_detection.c
|
2024-07-29 00:12:57 +00:00
|
|
|
|
2024-09-14 20:10:35 +00:00
|
|
|
${OBJECTDIR}/src/Enable/Enable.o: src/Enable/Enable.c .generated_files/flags/attiny404/853c45c88340e56756ea55b91ce01ec66ae5b3f4 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-29 00:12:57 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}/src/Enable"
|
|
|
|
@${RM} ${OBJECTDIR}/src/Enable/Enable.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/Enable/Enable.o
|
2024-09-14 20:10:35 +00:00
|
|
|
${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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/Enable/Enable.o.d" -MT "${OBJECTDIR}/src/Enable/Enable.o.d" -MT ${OBJECTDIR}/src/Enable/Enable.o -o ${OBJECTDIR}/src/Enable/Enable.o src/Enable/Enable.c
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/EnOut/EnOut.o: src/EnOut/EnOut.c .generated_files/flags/attiny404/47b193ae7e75c2ae6c3aaf9472e1f3177fcf59d9 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/EnOut"
|
|
|
|
@${RM} ${OBJECTDIR}/src/EnOut/EnOut.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/EnOut/EnOut.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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/EnOut/EnOut.o.d" -MT "${OBJECTDIR}/src/EnOut/EnOut.o.d" -MT ${OBJECTDIR}/src/EnOut/EnOut.o -o ${OBJECTDIR}/src/EnOut/EnOut.o src/EnOut/EnOut.c
|
2024-07-27 18:59:09 +00:00
|
|
|
|
|
|
|
else
|
2024-09-14 20:10:35 +00:00
|
|
|
${OBJECTDIR}/src/main.o: src/main.c .generated_files/flags/attiny404/4428bc9166a87775d410e311c31ef68ca65b2ffb .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}/src"
|
|
|
|
@${RM} ${OBJECTDIR}/src/main.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/main.o
|
2024-09-14 20:10:35 +00:00
|
|
|
${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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/main.o.d" -MT "${OBJECTDIR}/src/main.o.d" -MT ${OBJECTDIR}/src/main.o -o ${OBJECTDIR}/src/main.o src/main.c
|
2024-07-27 18:59:09 +00:00
|
|
|
|
2024-09-14 20:10:35 +00:00
|
|
|
${OBJECTDIR}/src/ADC/ADC.o: src/ADC/ADC.c .generated_files/flags/attiny404/5296cecaa739eeefd0ebf421da823004c2d4c31c .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}/src/ADC"
|
|
|
|
@${RM} ${OBJECTDIR}/src/ADC/ADC.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/ADC/ADC.o
|
2024-09-14 20:10:35 +00:00
|
|
|
${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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/ADC/ADC.o.d" -MT "${OBJECTDIR}/src/ADC/ADC.o.d" -MT ${OBJECTDIR}/src/ADC/ADC.o -o ${OBJECTDIR}/src/ADC/ADC.o src/ADC/ADC.c
|
2024-07-27 18:59:09 +00:00
|
|
|
|
2024-09-14 20:10:35 +00:00
|
|
|
${OBJECTDIR}/src/load/load.o: src/load/load.c .generated_files/flags/attiny404/f57940e2c9a1d09b4d1b0cbe60748a7a23cf1bfd .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}/src/load"
|
|
|
|
@${RM} ${OBJECTDIR}/src/load/load.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/load/load.o
|
2024-09-14 20:10:35 +00:00
|
|
|
${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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/load/load.o.d" -MT "${OBJECTDIR}/src/load/load.o.d" -MT ${OBJECTDIR}/src/load/load.o -o ${OBJECTDIR}/src/load/load.o src/load/load.c
|
2024-07-27 18:59:09 +00:00
|
|
|
|
2024-09-14 20:10:35 +00:00
|
|
|
${OBJECTDIR}/src/RegEdit/RegEdit.o: src/RegEdit/RegEdit.c .generated_files/flags/attiny404/cbcdee9e52a972564c97845e7d8131e7889df7d1 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}/src/RegEdit"
|
|
|
|
@${RM} ${OBJECTDIR}/src/RegEdit/RegEdit.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/RegEdit/RegEdit.o
|
2024-09-14 20:10:35 +00:00
|
|
|
${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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/RegEdit/RegEdit.o.d" -MT "${OBJECTDIR}/src/RegEdit/RegEdit.o.d" -MT ${OBJECTDIR}/src/RegEdit/RegEdit.o -o ${OBJECTDIR}/src/RegEdit/RegEdit.o src/RegEdit/RegEdit.c
|
2024-07-27 18:59:09 +00:00
|
|
|
|
2024-09-14 20:10:35 +00:00
|
|
|
${OBJECTDIR}/src/usart/usart.o: src/usart/usart.c .generated_files/flags/attiny404/eeb93cdee4d5a99d437668c6cc3a0c37e2a22bca .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}/src/usart"
|
|
|
|
@${RM} ${OBJECTDIR}/src/usart/usart.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/usart/usart.o
|
2024-09-14 20:10:35 +00:00
|
|
|
${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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/usart/usart.o.d" -MT "${OBJECTDIR}/src/usart/usart.o.d" -MT ${OBJECTDIR}/src/usart/usart.o -o ${OBJECTDIR}/src/usart/usart.o src/usart/usart.c
|
2024-07-27 18:59:09 +00:00
|
|
|
|
2024-09-14 20:10:35 +00:00
|
|
|
${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o: src/zero_cross_detection/zero_cross_detection.c .generated_files/flags/attiny404/8720e109db3abe691f56ab4657549cc0502b678a .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}/src/zero_cross_detection"
|
|
|
|
@${RM} ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o
|
2024-09-14 20:10:35 +00:00
|
|
|
${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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o.d" -MT "${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o.d" -MT ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o -o ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o src/zero_cross_detection/zero_cross_detection.c
|
2024-07-29 00:12:57 +00:00
|
|
|
|
2024-09-14 20:10:35 +00:00
|
|
|
${OBJECTDIR}/src/Enable/Enable.o: src/Enable/Enable.c .generated_files/flags/attiny404/9900b476323d492363d00093aa125b84669cf8e5 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-29 00:12:57 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}/src/Enable"
|
|
|
|
@${RM} ${OBJECTDIR}/src/Enable/Enable.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/Enable/Enable.o
|
2024-09-14 20:10:35 +00:00
|
|
|
${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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/Enable/Enable.o.d" -MT "${OBJECTDIR}/src/Enable/Enable.o.d" -MT ${OBJECTDIR}/src/Enable/Enable.o -o ${OBJECTDIR}/src/Enable/Enable.o src/Enable/Enable.c
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/EnOut/EnOut.o: src/EnOut/EnOut.c .generated_files/flags/attiny404/8efc6a6c1c80c107efc794123e4f46092e9183f2 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/EnOut"
|
|
|
|
@${RM} ${OBJECTDIR}/src/EnOut/EnOut.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/EnOut/EnOut.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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/EnOut/EnOut.o.d" -MT "${OBJECTDIR}/src/EnOut/EnOut.o.d" -MT ${OBJECTDIR}/src/EnOut/EnOut.o -o ${OBJECTDIR}/src/EnOut/EnOut.o src/EnOut/EnOut.c
|
2024-07-27 18:59:09 +00:00
|
|
|
|
|
|
|
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-27 19:20:30 +00:00
|
|
|
${DISTDIR}/High.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} ${DISTDIR}
|
2024-09-14 20:10:35 +00:00
|
|
|
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/High.${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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -gdwarf-3 -mno-const-data-in-progmem $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/High.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/High.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1
|
2024-07-27 19:20:30 +00:00
|
|
|
@${RM} ${DISTDIR}/High.${IMAGE_TYPE}.hex
|
2024-07-27 18:59:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
else
|
2024-07-27 19:20:30 +00:00
|
|
|
${DISTDIR}/High.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} ${DISTDIR}
|
2024-09-14 20:10:35 +00:00
|
|
|
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/High.${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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/EnOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -I"src/Enable" -Wall -gdwarf-3 -mno-const-data-in-progmem $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/High.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/High.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group
|
2024-07-27 19:20:30 +00:00
|
|
|
${MP_CC_DIR}/avr-objcopy -O ihex "${DISTDIR}/High.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}" "${DISTDIR}/High.${IMAGE_TYPE}.hex"
|
2024-07-27 18:59:09 +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
|