Relay_and_Socket_Protection/nbproject/Makefile-attiny404.mk

251 lines
25 KiB
Makefile
Raw Normal View History

2024-08-29 21:06:38 +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-09-03 23:40:01 +00:00
FINAL_IMAGE=${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
2024-08-29 21:06:38 +00:00
else
IMAGE_TYPE=production
OUTPUT_SUFFIX=hex
DEBUGGABLE_SUFFIX=elf
2024-09-03 23:40:01 +00:00
FINAL_IMAGE=${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
2024-08-29 21:06:38 +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-03 23:40:01 +00:00
SOURCEFILES_QUOTED_IF_SPACED=src/main.c src/RegEdit/RegEdit.c src/timer/timer.c src/Relays/Relays.c src/ADC/ADC.c src/Enable/Enable.c src/load/load.c src/SuperLoop/SuperLoop.c src/zero_cross_detection/zero_cross_detection.c
2024-08-29 21:06:38 +00:00
# Object Files Quoted if spaced
2024-09-03 23:40:01 +00:00
OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/src/main.o ${OBJECTDIR}/src/RegEdit/RegEdit.o ${OBJECTDIR}/src/timer/timer.o ${OBJECTDIR}/src/Relays/Relays.o ${OBJECTDIR}/src/ADC/ADC.o ${OBJECTDIR}/src/Enable/Enable.o ${OBJECTDIR}/src/load/load.o ${OBJECTDIR}/src/SuperLoop/SuperLoop.o ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o
POSSIBLE_DEPFILES=${OBJECTDIR}/src/main.o.d ${OBJECTDIR}/src/RegEdit/RegEdit.o.d ${OBJECTDIR}/src/timer/timer.o.d ${OBJECTDIR}/src/Relays/Relays.o.d ${OBJECTDIR}/src/ADC/ADC.o.d ${OBJECTDIR}/src/Enable/Enable.o.d ${OBJECTDIR}/src/load/load.o.d ${OBJECTDIR}/src/SuperLoop/SuperLoop.o.d ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o.d
2024-08-29 21:06:38 +00:00
# Object Files
2024-09-03 23:40:01 +00:00
OBJECTFILES=${OBJECTDIR}/src/main.o ${OBJECTDIR}/src/RegEdit/RegEdit.o ${OBJECTDIR}/src/timer/timer.o ${OBJECTDIR}/src/Relays/Relays.o ${OBJECTDIR}/src/ADC/ADC.o ${OBJECTDIR}/src/Enable/Enable.o ${OBJECTDIR}/src/load/load.o ${OBJECTDIR}/src/SuperLoop/SuperLoop.o ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o
2024-08-29 21:06:38 +00:00
# Source Files
2024-09-03 23:40:01 +00:00
SOURCEFILES=src/main.c src/RegEdit/RegEdit.c src/timer/timer.c src/Relays/Relays.c src/ADC/ADC.c src/Enable/Enable.c src/load/load.c src/SuperLoop/SuperLoop.c src/zero_cross_detection/zero_cross_detection.c
2024-08-29 21:06:38 +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-09-03 23:40:01 +00:00
${MAKE} -f nbproject/Makefile-attiny404.mk ${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
2024-08-29 21:06:38 +00:00
MP_PROCESSOR_OPTION=ATtiny404
# ------------------------------------------------------------------------------------
# Rules for buildStep: compile
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
2024-09-03 23:40:01 +00:00
${OBJECTDIR}/src/main.o: src/main.c .generated_files/flags/attiny404/f6fda49ceca1bed61a729049a96d84e9fa64582b .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
2024-08-29 21:06:38 +00:00
@${MKDIR} "${OBJECTDIR}/src"
@${RM} ${OBJECTDIR}/src/main.o.d
@${RM} ${OBJECTDIR}/src/main.o
2024-09-03 23:40:01 +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/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -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-08-29 21:06:38 +00:00
2024-09-03 23:40:01 +00:00
${OBJECTDIR}/src/RegEdit/RegEdit.o: src/RegEdit/RegEdit.c .generated_files/flags/attiny404/d12b7de0f7a9062506c772934141a6f90daa3bfc .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
2024-08-29 21:06:38 +00:00
@${MKDIR} "${OBJECTDIR}/src/RegEdit"
@${RM} ${OBJECTDIR}/src/RegEdit/RegEdit.o.d
@${RM} ${OBJECTDIR}/src/RegEdit/RegEdit.o
2024-09-03 23:40:01 +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/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -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-08-29 21:06:38 +00:00
2024-09-03 23:40:01 +00:00
${OBJECTDIR}/src/timer/timer.o: src/timer/timer.c .generated_files/flags/attiny404/7a3875dc4ec80ee775ae6ce571b0ef8ea01851e0 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
2024-08-29 21:06:38 +00:00
@${MKDIR} "${OBJECTDIR}/src/timer"
@${RM} ${OBJECTDIR}/src/timer/timer.o.d
@${RM} ${OBJECTDIR}/src/timer/timer.o
2024-09-03 23:40:01 +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/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/timer/timer.o.d" -MT "${OBJECTDIR}/src/timer/timer.o.d" -MT ${OBJECTDIR}/src/timer/timer.o -o ${OBJECTDIR}/src/timer/timer.o src/timer/timer.c
${OBJECTDIR}/src/Relays/Relays.o: src/Relays/Relays.c .generated_files/flags/attiny404/1b598baa74388fda382994d76f4abbd980dbc59e .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
@${MKDIR} "${OBJECTDIR}/src/Relays"
@${RM} ${OBJECTDIR}/src/Relays/Relays.o.d
@${RM} ${OBJECTDIR}/src/Relays/Relays.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/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/Relays/Relays.o.d" -MT "${OBJECTDIR}/src/Relays/Relays.o.d" -MT ${OBJECTDIR}/src/Relays/Relays.o -o ${OBJECTDIR}/src/Relays/Relays.o src/Relays/Relays.c
${OBJECTDIR}/src/ADC/ADC.o: src/ADC/ADC.c .generated_files/flags/attiny404/b606432d0ae51f0ac35bbb5f31f4e803180effe2 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
@${MKDIR} "${OBJECTDIR}/src/ADC"
@${RM} ${OBJECTDIR}/src/ADC/ADC.o.d
@${RM} ${OBJECTDIR}/src/ADC/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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -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
${OBJECTDIR}/src/Enable/Enable.o: src/Enable/Enable.c .generated_files/flags/attiny404/56f68c1cdcb2fc73400fcc6d0057cb1a4e1b0f20 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
@${MKDIR} "${OBJECTDIR}/src/Enable"
@${RM} ${OBJECTDIR}/src/Enable/Enable.o.d
@${RM} ${OBJECTDIR}/src/Enable/Enable.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/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -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/load/load.o: src/load/load.c .generated_files/flags/attiny404/771f9283e5f6584ce55da293c7edc974f794c9f8 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
@${MKDIR} "${OBJECTDIR}/src/load"
@${RM} ${OBJECTDIR}/src/load/load.o.d
@${RM} ${OBJECTDIR}/src/load/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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -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
${OBJECTDIR}/src/SuperLoop/SuperLoop.o: src/SuperLoop/SuperLoop.c .generated_files/flags/attiny404/7ee90a3e5bc9f40c4365ff4c13be8c0e031cea02 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
@${MKDIR} "${OBJECTDIR}/src/SuperLoop"
@${RM} ${OBJECTDIR}/src/SuperLoop/SuperLoop.o.d
@${RM} ${OBJECTDIR}/src/SuperLoop/SuperLoop.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/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/SuperLoop/SuperLoop.o.d" -MT "${OBJECTDIR}/src/SuperLoop/SuperLoop.o.d" -MT ${OBJECTDIR}/src/SuperLoop/SuperLoop.o -o ${OBJECTDIR}/src/SuperLoop/SuperLoop.o src/SuperLoop/SuperLoop.c
2024-08-29 21:06:38 +00:00
2024-09-03 23:40:01 +00:00
${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o: src/zero_cross_detection/zero_cross_detection.c .generated_files/flags/attiny404/ec86b28e14be6f96942f43c1f3335922389d8b4d .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
@${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
${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/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -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-08-29 21:06:38 +00:00
else
2024-09-03 23:40:01 +00:00
${OBJECTDIR}/src/main.o: src/main.c .generated_files/flags/attiny404/1da8611ee6d826be2e4a4276ed8f5f01542d750b .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
2024-08-29 21:06:38 +00:00
@${MKDIR} "${OBJECTDIR}/src"
@${RM} ${OBJECTDIR}/src/main.o.d
@${RM} ${OBJECTDIR}/src/main.o
2024-09-03 23:40:01 +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/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -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-08-29 21:06:38 +00:00
2024-09-03 23:40:01 +00:00
${OBJECTDIR}/src/RegEdit/RegEdit.o: src/RegEdit/RegEdit.c .generated_files/flags/attiny404/8c78a4b363a831c27d599e82415a7df23420c7d2 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
2024-08-29 21:06:38 +00:00
@${MKDIR} "${OBJECTDIR}/src/RegEdit"
@${RM} ${OBJECTDIR}/src/RegEdit/RegEdit.o.d
@${RM} ${OBJECTDIR}/src/RegEdit/RegEdit.o
2024-09-03 23:40:01 +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/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -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-08-29 21:06:38 +00:00
2024-09-03 23:40:01 +00:00
${OBJECTDIR}/src/timer/timer.o: src/timer/timer.c .generated_files/flags/attiny404/f6be36ee8b85876e72b108a8d6bbae044823a50 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
2024-08-29 21:06:38 +00:00
@${MKDIR} "${OBJECTDIR}/src/timer"
@${RM} ${OBJECTDIR}/src/timer/timer.o.d
@${RM} ${OBJECTDIR}/src/timer/timer.o
2024-09-03 23:40:01 +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/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/timer/timer.o.d" -MT "${OBJECTDIR}/src/timer/timer.o.d" -MT ${OBJECTDIR}/src/timer/timer.o -o ${OBJECTDIR}/src/timer/timer.o src/timer/timer.c
${OBJECTDIR}/src/Relays/Relays.o: src/Relays/Relays.c .generated_files/flags/attiny404/324ca5e5e49ffa50ec025a109308aff2414dd20a .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
@${MKDIR} "${OBJECTDIR}/src/Relays"
@${RM} ${OBJECTDIR}/src/Relays/Relays.o.d
@${RM} ${OBJECTDIR}/src/Relays/Relays.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/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/Relays/Relays.o.d" -MT "${OBJECTDIR}/src/Relays/Relays.o.d" -MT ${OBJECTDIR}/src/Relays/Relays.o -o ${OBJECTDIR}/src/Relays/Relays.o src/Relays/Relays.c
${OBJECTDIR}/src/ADC/ADC.o: src/ADC/ADC.c .generated_files/flags/attiny404/be2aabe65c1b58cc762cba6432a9fbdfc950020f .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
@${MKDIR} "${OBJECTDIR}/src/ADC"
@${RM} ${OBJECTDIR}/src/ADC/ADC.o.d
@${RM} ${OBJECTDIR}/src/ADC/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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -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
${OBJECTDIR}/src/Enable/Enable.o: src/Enable/Enable.c .generated_files/flags/attiny404/d1c66a63b5a3cc2200d53d1848bbc67e2ca5fc35 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
@${MKDIR} "${OBJECTDIR}/src/Enable"
@${RM} ${OBJECTDIR}/src/Enable/Enable.o.d
@${RM} ${OBJECTDIR}/src/Enable/Enable.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/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -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/load/load.o: src/load/load.c .generated_files/flags/attiny404/4e0677da85e0ec1678584e381f53ce8fe8cd650 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
@${MKDIR} "${OBJECTDIR}/src/load"
@${RM} ${OBJECTDIR}/src/load/load.o.d
@${RM} ${OBJECTDIR}/src/load/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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -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
${OBJECTDIR}/src/SuperLoop/SuperLoop.o: src/SuperLoop/SuperLoop.c .generated_files/flags/attiny404/d2ac1e5df0174049f2b1305d2da7d99b822c73f1 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
@${MKDIR} "${OBJECTDIR}/src/SuperLoop"
@${RM} ${OBJECTDIR}/src/SuperLoop/SuperLoop.o.d
@${RM} ${OBJECTDIR}/src/SuperLoop/SuperLoop.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/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/SuperLoop/SuperLoop.o.d" -MT "${OBJECTDIR}/src/SuperLoop/SuperLoop.o.d" -MT ${OBJECTDIR}/src/SuperLoop/SuperLoop.o -o ${OBJECTDIR}/src/SuperLoop/SuperLoop.o src/SuperLoop/SuperLoop.c
2024-08-29 21:06:38 +00:00
2024-09-03 23:40:01 +00:00
${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o: src/zero_cross_detection/zero_cross_detection.c .generated_files/flags/attiny404/b9f8a7250ae7eff10107b653c857b9aafa363658 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
@${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
${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/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -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-08-29 21:06:38 +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-09-03 23:40:01 +00:00
${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
2024-08-29 21:06:38 +00:00
@${MKDIR} ${DISTDIR}
2024-09-03 23:40:01 +00:00
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/Relay_and_Socket_Protection.${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/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -gdwarf-3 -mno-const-data-in-progmem $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/Relay_and_Socket_Protection.${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}/Relay_and_Socket_Protection.${IMAGE_TYPE}.hex
2024-08-29 21:06:38 +00:00
else
2024-09-03 23:40:01 +00:00
${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
2024-08-29 21:06:38 +00:00
@${MKDIR} ${DISTDIR}
2024-09-03 23:40:01 +00:00
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/Relay_and_Socket_Protection.${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/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -gdwarf-3 -mno-const-data-in-progmem $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group
${MP_CC_DIR}/avr-objcopy -O ihex "${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}" "${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.hex"
2024-08-29 21:06:38 +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