################################################################################
# Automatically-generated file. Do not edit!
################################################################################

-include ..\makefile.init

RM := rm -f

# All of the sources participating in the build are defined here
-include sources.mk
-include subdir.mk
-include libraries\Wire\src\subdir.mk
-include libraries\OneWire\subdir.mk
-include libraries\LiquidCrystal_I2C\subdir.mk
-include libraries\Keypad\src\subdir.mk
-include libraries\DallasTemperature\subdir.mk
-include libraries\AccelStepper\src\subdir.mk
-include core\core\libb64\subdir.mk
-include core\core\subdir.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(CCM_DEPS)),)
-include $(CCM_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
ifneq ($(strip $(PDE_DEPS)),)
-include $(PDE_DEPS)
endif
ifneq ($(strip $(CXXM_DEPS)),)
-include $(CXXM_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
ifneq ($(strip $(INO_DEPS)),)
-include $(INO_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
ifneq ($(strip $(C++M_DEPS)),)
-include $(C++M_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
endif

-include ..\makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 
AR += \
C:\Users\gordon\Documents\sloeber-workspace\film_processor_cgpt\Release\arduino.ar \

ELF += \
film_processor_cgpt.elf \

HEX += \
film_processor_cgpt.hex \



#bootloaderTest
BurnBootLoader: 
	@echo trying to burn bootloader ${bootloader.tool}
	${tools.${bootloader.tool}.erase.pattern}
	${tools.${bootloader.tool}.bootloader.pattern}

uploadWithBuild: all
	@echo trying to build and upload with upload tool ${upload.tool}
	${tools.${upload.tool}.upload.pattern}

uploadWithoutBuild: 
	@echo trying to upload without build with upload tool ${upload.tool}
	${tools.${upload.tool}.upload.pattern}
    
uploadWithProgrammerWithBuild: all
	@echo trying to build and upload with programmer ${program.tool}
	${tools.${program.tool}.program.pattern}

uploadWithProgrammerWithoutBuild: 
	@echo trying to upload with programmer ${program.tool} without build
	${tools.${program.tool}.program.pattern}

# All Target
all:
	-${recipe.hooks.prebuild.1.pattern}
	${recipe.hooks.prebuild.2.pattern}
	${recipe.hooks.prebuild.3.pattern}
	${recipe.hooks.prebuild.4.pattern}
	${recipe.hooks.prebuild.5.pattern}
	${recipe.hooks.prebuild.6.pattern}
	${recipe.hooks.prebuild.7.pattern} ||:
	$(MAKE) --no-print-directory main-build

# Main-build Target
main-build: film_processor_cgpt

# Tool invocations
film_processor_cgpt: $(HEX)
	@echo 'Building target: $@'
	@echo 'Printing size:'
	"C:\Users\gordon\Sloeber\arduinoPlugin\packages\esp32\tools\esp-x32\2302/bin/xtensa-esp32-elf-size" -A "C:\Users\gordon\Documents\sloeber-workspace\film_processor_cgpt\Release/film_processor_cgpt.elf"
	@echo 'Finished building target: $@'
	@echo ' '

C:\Users\gordon\Documents\sloeber-workspace\film_processor_cgpt\Release\arduino.ar: $(AR_OBJ)
	@echo 'Starting archiver'
	"C:\Users\gordon\Sloeber\arduinoPlugin\packages\esp32\tools\esp-x32\2302/bin/xtensa-esp32-elf-gcc-ar" cr  "C:\Users\gordon\Documents\sloeber-workspace\film_processor_cgpt\Release\arduino.ar" $(AR_OBJ)
	@echo 'Finished building: $@'
	@echo ' '

film_processor_cgpt.elf: $(LINK_OBJ) $(AR)
	@echo 'Starting combiner'
	"C:\Users\gordon\Sloeber\arduinoPlugin\packages\esp32\tools\esp-x32\2302/bin/xtensa-esp32-elf-g++" "@C:\Users\gordon\Sloeber\arduinoPlugin\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-442a798083\esp32/flags/ld_flags" "@C:\Users\gordon\Sloeber\arduinoPlugin\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-442a798083\esp32/flags/ld_scripts" "-Wl,--Map=C:\Users\gordon\Documents\sloeber-workspace\film_processor_cgpt\Release/film_processor_cgpt.map" "-LC:\Users\gordon\Sloeber\arduinoPlugin\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-442a798083\esp32/lib" "-LC:\Users\gordon\Sloeber\arduinoPlugin\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-442a798083\esp32/ld" "-LC:\Users\gordon\Sloeber\arduinoPlugin\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-442a798083\esp32/qio_qspi" "-Wl,--wrap=esp_panic_handler" -Wl,--start-group  $(LINK_OBJ) $(AR)   "@C:\Users\gordon\Sloeber\arduinoPlugin\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-442a798083\esp32/flags/ld_libs"  -Wl,--end-group -Wl,-EL -o "C:\Users\gordon\Documents\sloeber-workspace\film_processor_cgpt\Release/film_processor_cgpt.elf"
	@echo 'Finished building: $@'
	@echo ' '

film_processor_cgpt.hex: $(ELF)
	@echo 'Do all objcopy commands'
	${recipe.objcopy.bin.pattern}
	${recipe.objcopy.hex.pattern}
	${recipe.objcopy.partitions.bin.pattern}
	@echo 'Finished building: $@'
	@echo ' '

# Other Targets
clean:
	-$(RM) $(CCM_DEPS)$(C_UPPER_DEPS)$(PDE_DEPS)$(CXXM_DEPS)$(C_DEPS)$(AR)$(CC_DEPS)$(AR_OBJ)$(C++_DEPS)$(LINK_OBJ)$(CXX_DEPS)$(ASM_DEPS)$(HEX)$(INO_DEPS)$(SIZEDUMMY)$(S_UPPER_DEPS)$(C++M_DEPS)$(ELF)$(CPP_DEPS)
	-@echo ' '

.PHONY: all clean dependents main-build pre-build

-include ..\makefile.targets
