#
# 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-default.mk)" "nbproject/Makefile-local-default.mk"
include nbproject/Makefile-local-default.mk
endif
endif

# Environment
MKDIR=gnumkdir -p
RM=rm -f 
MV=mv 
CP=cp 

# Macros
CND_CONF=default
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
IMAGE_TYPE=debug
OUTPUT_SUFFIX=elf
DEBUGGABLE_SUFFIX=elf
FINAL_IMAGE=${DISTDIR}/test.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
else
IMAGE_TYPE=production
OUTPUT_SUFFIX=hex
DEBUGGABLE_SUFFIX=elf
FINAL_IMAGE=${DISTDIR}/test.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
endif

ifeq ($(COMPARE_BUILD), true)
COMPARISON_BUILD=
else
COMPARISON_BUILD=
endif

ifdef SUB_IMAGE_ADDRESS

else
SUB_IMAGE_ADDRESS_COMMAND=
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=lcd_i2cmaster.c lcd_i2cmaster_test.c twimaster.c

# Object Files Quoted if spaced
OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/lcd_i2cmaster.o ${OBJECTDIR}/lcd_i2cmaster_test.o ${OBJECTDIR}/twimaster.o
POSSIBLE_DEPFILES=${OBJECTDIR}/lcd_i2cmaster.o.d ${OBJECTDIR}/lcd_i2cmaster_test.o.d ${OBJECTDIR}/twimaster.o.d

# Object Files
OBJECTFILES=${OBJECTDIR}/lcd_i2cmaster.o ${OBJECTDIR}/lcd_i2cmaster_test.o ${OBJECTDIR}/twimaster.o

# Source Files
SOURCEFILES=lcd_i2cmaster.c lcd_i2cmaster_test.c twimaster.c

# Pack Options 
PACK_COMPILER_OPTIONS=-I "${DFP_DIR}/include"
PACK_COMMON_OPTIONS=-B "${DFP_DIR}/gcc/dev/atmega328p"



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-default.mk ${DISTDIR}/test.${IMAGE_TYPE}.${OUTPUT_SUFFIX}

MP_PROCESSOR_OPTION=ATmega328P
# ------------------------------------------------------------------------------------
# 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: compile
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
${OBJECTDIR}/lcd_i2cmaster.o: lcd_i2cmaster.c  .generated_files/flags/default/90eec85b2c05d9f8e521a5af5f532b6dbd1c7c4f .generated_files/flags/default/2a0467cb10e94325bec0a0a68150a57e15a95d03
	@${MKDIR} "${OBJECTDIR}" 
	@${RM} ${OBJECTDIR}/lcd_i2cmaster.o.d 
	@${RM} ${OBJECTDIR}/lcd_i2cmaster.o 
	 ${MP_CC}  $(MP_EXTRA_CC_PRE) -mmcu=atmega328p ${PACK_COMPILER_OPTIONS} ${PACK_COMMON_OPTIONS} -g -DDEBUG  -gdwarf-2  -x c -c -D__$(MP_PROCESSOR_OPTION)__  -funsigned-char -funsigned-bitfields -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -DF_CPU=16000000UL -Wall -MD -MP -MF "${OBJECTDIR}/lcd_i2cmaster.o.d" -MT "${OBJECTDIR}/lcd_i2cmaster.o.d" -MT ${OBJECTDIR}/lcd_i2cmaster.o  -o ${OBJECTDIR}/lcd_i2cmaster.o lcd_i2cmaster.c  -DXPRJ_default=$(CND_CONF)  $(COMPARISON_BUILD) 
	
${OBJECTDIR}/lcd_i2cmaster_test.o: lcd_i2cmaster_test.c  .generated_files/flags/default/c99c06685426b221659b99da0be1cdc17ae11770 .generated_files/flags/default/2a0467cb10e94325bec0a0a68150a57e15a95d03
	@${MKDIR} "${OBJECTDIR}" 
	@${RM} ${OBJECTDIR}/lcd_i2cmaster_test.o.d 
	@${RM} ${OBJECTDIR}/lcd_i2cmaster_test.o 
	 ${MP_CC}  $(MP_EXTRA_CC_PRE) -mmcu=atmega328p ${PACK_COMPILER_OPTIONS} ${PACK_COMMON_OPTIONS} -g -DDEBUG  -gdwarf-2  -x c -c -D__$(MP_PROCESSOR_OPTION)__  -funsigned-char -funsigned-bitfields -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -DF_CPU=16000000UL -Wall -MD -MP -MF "${OBJECTDIR}/lcd_i2cmaster_test.o.d" -MT "${OBJECTDIR}/lcd_i2cmaster_test.o.d" -MT ${OBJECTDIR}/lcd_i2cmaster_test.o  -o ${OBJECTDIR}/lcd_i2cmaster_test.o lcd_i2cmaster_test.c  -DXPRJ_default=$(CND_CONF)  $(COMPARISON_BUILD) 
	
${OBJECTDIR}/twimaster.o: twimaster.c  .generated_files/flags/default/af546a727f1ec6e926fccbfece40b11299ed39f9 .generated_files/flags/default/2a0467cb10e94325bec0a0a68150a57e15a95d03
	@${MKDIR} "${OBJECTDIR}" 
	@${RM} ${OBJECTDIR}/twimaster.o.d 
	@${RM} ${OBJECTDIR}/twimaster.o 
	 ${MP_CC}  $(MP_EXTRA_CC_PRE) -mmcu=atmega328p ${PACK_COMPILER_OPTIONS} ${PACK_COMMON_OPTIONS} -g -DDEBUG  -gdwarf-2  -x c -c -D__$(MP_PROCESSOR_OPTION)__  -funsigned-char -funsigned-bitfields -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -DF_CPU=16000000UL -Wall -MD -MP -MF "${OBJECTDIR}/twimaster.o.d" -MT "${OBJECTDIR}/twimaster.o.d" -MT ${OBJECTDIR}/twimaster.o  -o ${OBJECTDIR}/twimaster.o twimaster.c  -DXPRJ_default=$(CND_CONF)  $(COMPARISON_BUILD) 
	
else
${OBJECTDIR}/lcd_i2cmaster.o: lcd_i2cmaster.c  .generated_files/flags/default/f0bd7eab2256af98c896b086acefc79095a2f467 .generated_files/flags/default/2a0467cb10e94325bec0a0a68150a57e15a95d03
	@${MKDIR} "${OBJECTDIR}" 
	@${RM} ${OBJECTDIR}/lcd_i2cmaster.o.d 
	@${RM} ${OBJECTDIR}/lcd_i2cmaster.o 
	 ${MP_CC}  $(MP_EXTRA_CC_PRE) -mmcu=atmega328p ${PACK_COMPILER_OPTIONS} ${PACK_COMMON_OPTIONS}  -x c -c -D__$(MP_PROCESSOR_OPTION)__  -funsigned-char -funsigned-bitfields -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -DF_CPU=16000000UL -Wall -MD -MP -MF "${OBJECTDIR}/lcd_i2cmaster.o.d" -MT "${OBJECTDIR}/lcd_i2cmaster.o.d" -MT ${OBJECTDIR}/lcd_i2cmaster.o  -o ${OBJECTDIR}/lcd_i2cmaster.o lcd_i2cmaster.c  -DXPRJ_default=$(CND_CONF)  $(COMPARISON_BUILD) 
	
${OBJECTDIR}/lcd_i2cmaster_test.o: lcd_i2cmaster_test.c  .generated_files/flags/default/54ba9a4908e22daff8d9b506fc0a957ddd46d53c .generated_files/flags/default/2a0467cb10e94325bec0a0a68150a57e15a95d03
	@${MKDIR} "${OBJECTDIR}" 
	@${RM} ${OBJECTDIR}/lcd_i2cmaster_test.o.d 
	@${RM} ${OBJECTDIR}/lcd_i2cmaster_test.o 
	 ${MP_CC}  $(MP_EXTRA_CC_PRE) -mmcu=atmega328p ${PACK_COMPILER_OPTIONS} ${PACK_COMMON_OPTIONS}  -x c -c -D__$(MP_PROCESSOR_OPTION)__  -funsigned-char -funsigned-bitfields -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -DF_CPU=16000000UL -Wall -MD -MP -MF "${OBJECTDIR}/lcd_i2cmaster_test.o.d" -MT "${OBJECTDIR}/lcd_i2cmaster_test.o.d" -MT ${OBJECTDIR}/lcd_i2cmaster_test.o  -o ${OBJECTDIR}/lcd_i2cmaster_test.o lcd_i2cmaster_test.c  -DXPRJ_default=$(CND_CONF)  $(COMPARISON_BUILD) 
	
${OBJECTDIR}/twimaster.o: twimaster.c  .generated_files/flags/default/1ba5f5c9ca31c920538ce0d059ec054da5a51829 .generated_files/flags/default/2a0467cb10e94325bec0a0a68150a57e15a95d03
	@${MKDIR} "${OBJECTDIR}" 
	@${RM} ${OBJECTDIR}/twimaster.o.d 
	@${RM} ${OBJECTDIR}/twimaster.o 
	 ${MP_CC}  $(MP_EXTRA_CC_PRE) -mmcu=atmega328p ${PACK_COMPILER_OPTIONS} ${PACK_COMMON_OPTIONS}  -x c -c -D__$(MP_PROCESSOR_OPTION)__  -funsigned-char -funsigned-bitfields -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -DF_CPU=16000000UL -Wall -MD -MP -MF "${OBJECTDIR}/twimaster.o.d" -MT "${OBJECTDIR}/twimaster.o.d" -MT ${OBJECTDIR}/twimaster.o  -o ${OBJECTDIR}/twimaster.o twimaster.c  -DXPRJ_default=$(CND_CONF)  $(COMPARISON_BUILD) 
	
endif

# ------------------------------------------------------------------------------------
# Rules for buildStep: compileCPP
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
else
endif

# ------------------------------------------------------------------------------------
# Rules for buildStep: link
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
${DISTDIR}/test.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES}  nbproject/Makefile-${CND_CONF}.mk    
	@${MKDIR} ${DISTDIR} 
	${MP_CC} $(MP_EXTRA_LD_PRE) -mmcu=atmega328p ${PACK_COMMON_OPTIONS}   -gdwarf-2 -D__$(MP_PROCESSOR_OPTION)__  -Wl,-Map="${DISTDIR}\test.${IMAGE_TYPE}.map"    -o ${DISTDIR}/test.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED}      -DXPRJ_default=$(CND_CONF)  $(COMPARISON_BUILD)  -Wl,--defsym=__MPLAB_BUILD=1$(MP_EXTRA_LD_POST)$(MP_LINKER_FILE_OPTION),--defsym=__ICD2RAM=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1 -Wl,--gc-sections -Wl,--start-group  -Wl,-lm -Wl,--end-group 
	
	
	
	
	
	
else
${DISTDIR}/test.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES}  nbproject/Makefile-${CND_CONF}.mk   
	@${MKDIR} ${DISTDIR} 
	${MP_CC} $(MP_EXTRA_LD_PRE) -mmcu=atmega328p ${PACK_COMMON_OPTIONS}  -D__$(MP_PROCESSOR_OPTION)__  -Wl,-Map="${DISTDIR}\test.${IMAGE_TYPE}.map"    -o ${DISTDIR}/test.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED}      -DXPRJ_default=$(CND_CONF)  $(COMPARISON_BUILD)  -Wl,--defsym=__MPLAB_BUILD=1$(MP_EXTRA_LD_POST)$(MP_LINKER_FILE_OPTION) -Wl,--gc-sections -Wl,--start-group  -Wl,-lm -Wl,--end-group 
	${MP_CC_DIR}\\avr-objcopy -O ihex "${DISTDIR}/test.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}" "${DISTDIR}/test.${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=$(shell mplabwildcard ${POSSIBLE_DEPFILES})
ifneq (${DEPFILES},)
include ${DEPFILES}
endif
