239 lines
22 KiB
Makefile
239 lines
22 KiB
Makefile
#
|
|
# 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
|
|
FINAL_IMAGE=${DISTDIR}/thermostat.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
|
else
|
|
IMAGE_TYPE=production
|
|
OUTPUT_SUFFIX=hex
|
|
DEBUGGABLE_SUFFIX=elf
|
|
FINAL_IMAGE=${DISTDIR}/thermostat.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
|
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=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
|
|
|
|
# Object Files Quoted if spaced
|
|
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
|
|
|
|
# Object Files
|
|
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
|
|
|
|
# Source Files
|
|
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
|
|
|
|
|
|
|
|
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
|
|
${MAKE} -f nbproject/Makefile-attiny404.mk ${DISTDIR}/thermostat.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
|
|
|
MP_PROCESSOR_OPTION=ATtiny404
|
|
# ------------------------------------------------------------------------------------
|
|
# Rules for buildStep: compile
|
|
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
|
${OBJECTDIR}/src/main.o: src/main.c .generated_files/flags/attiny404/f85a30ff6327b48b5a292313a7cd6488b6fdb7bf .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
@${MKDIR} "${OBJECTDIR}/src"
|
|
@${RM} ${OBJECTDIR}/src/main.o.d
|
|
@${RM} ${OBJECTDIR}/src/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 -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
|
|
|
|
${OBJECTDIR}/src/ADC/ADC.o: src/ADC/ADC.c .generated_files/flags/attiny404/864161db6c3ab080bdc31dd4e9158c9a25e7bb49 .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/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
|
|
|
|
${OBJECTDIR}/src/load/load.o: src/load/load.c .generated_files/flags/attiny404/5b85e42640d2478d0261ab45157ff02953d7e74 .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/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
|
|
|
|
${OBJECTDIR}/src/RegEdit/RegEdit.o: src/RegEdit/RegEdit.c .generated_files/flags/attiny404/e1f86c90f1acc10f76252f17bbced86cc9ae7710 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
@${MKDIR} "${OBJECTDIR}/src/RegEdit"
|
|
@${RM} ${OBJECTDIR}/src/RegEdit/RegEdit.o.d
|
|
@${RM} ${OBJECTDIR}/src/RegEdit/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 -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
|
|
|
|
${OBJECTDIR}/src/usart/usart.o: src/usart/usart.c .generated_files/flags/attiny404/fbbe054b46850aca37117f8820f612ea84d51cb7 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
@${MKDIR} "${OBJECTDIR}/src/usart"
|
|
@${RM} ${OBJECTDIR}/src/usart/usart.o.d
|
|
@${RM} ${OBJECTDIR}/src/usart/usart.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/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
|
|
|
|
${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o: src/zero_cross_detection/zero_cross_detection.c .generated_files/flags/attiny404/a1f0c157fc90e56efa265d7bd3d479ece24a3949 .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/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
|
|
|
|
${OBJECTDIR}/src/Enable/Enable.o: src/Enable/Enable.c .generated_files/flags/attiny404/a35abe3aeb3daa30aaa947e1097a11ee575cfab5 .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/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/1edc6e2701ddd3956a5548a65443b18e7a6363b6 .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
|
|
|
|
else
|
|
${OBJECTDIR}/src/main.o: src/main.c .generated_files/flags/attiny404/48b90b79ff9acff0f6c420763367db47632e3deb .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
@${MKDIR} "${OBJECTDIR}/src"
|
|
@${RM} ${OBJECTDIR}/src/main.o.d
|
|
@${RM} ${OBJECTDIR}/src/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 -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
|
|
|
|
${OBJECTDIR}/src/ADC/ADC.o: src/ADC/ADC.c .generated_files/flags/attiny404/12fd32e082987317f608e7c84cb96c771a5a45af .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/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
|
|
|
|
${OBJECTDIR}/src/load/load.o: src/load/load.c .generated_files/flags/attiny404/774bedde820ba9c6539f1122d8b23cf5117e94db .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/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
|
|
|
|
${OBJECTDIR}/src/RegEdit/RegEdit.o: src/RegEdit/RegEdit.c .generated_files/flags/attiny404/c09f65a2e74b6454c4d4f108d188c4bf0ba80f6a .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
@${MKDIR} "${OBJECTDIR}/src/RegEdit"
|
|
@${RM} ${OBJECTDIR}/src/RegEdit/RegEdit.o.d
|
|
@${RM} ${OBJECTDIR}/src/RegEdit/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 -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
|
|
|
|
${OBJECTDIR}/src/usart/usart.o: src/usart/usart.c .generated_files/flags/attiny404/c06de9ca4a6193e982e9f4762fd17421d9c2ed22 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
@${MKDIR} "${OBJECTDIR}/src/usart"
|
|
@${RM} ${OBJECTDIR}/src/usart/usart.o.d
|
|
@${RM} ${OBJECTDIR}/src/usart/usart.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/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
|
|
|
|
${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o: src/zero_cross_detection/zero_cross_detection.c .generated_files/flags/attiny404/c2ab688461b9b68306765e066ceb85c4e9eaaf68 .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/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
|
|
|
|
${OBJECTDIR}/src/Enable/Enable.o: src/Enable/Enable.c .generated_files/flags/attiny404/e24a3bbff41633cdbba8ed78376883639fb081b .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/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/fe0d7542096044b6ab4f0aa20854f29a28796b58 .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
|
|
|
|
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)
|
|
${DISTDIR}/thermostat.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
|
|
@${MKDIR} ${DISTDIR}
|
|
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/thermostat.${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}/thermostat.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/thermostat.${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}/thermostat.${IMAGE_TYPE}.hex
|
|
|
|
|
|
else
|
|
${DISTDIR}/thermostat.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
|
|
@${MKDIR} ${DISTDIR}
|
|
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/thermostat.${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}/thermostat.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/thermostat.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group
|
|
${MP_CC_DIR}/avr-objcopy -O ihex "${DISTDIR}/thermostat.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}" "${DISTDIR}/thermostat.${IMAGE_TYPE}.hex"
|
|
|
|
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
|