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

-include ../makefile.init

RM := rm -rf

# All of the sources participating in the build are defined here
-include sources.mk
-include subdir.mk
-include vendor.mk
-include objects.mk
-include app.mk
-include components.mk
-include include.mk
-include libs.mk

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 
LST += \
boot-.lst \

FLASH_IMAGE += \

SIZEDUMMY += \
sizedummy \


# All Target
all: tuyaos_demo_zg_light2.elf secondary-outputs

# Tool invocations
tuyaos_demo_zg_light2.elf: $(OBJS) $(USER_OBJS)
	-@echo 'Building target: $@'
	-@echo 'Invoking: TC32 C Linker'
	../../../tools/tc32/tc32/bin/tc32-elf-ld --gc-sections   -L../../../libs/tuya_lib/router -L../../../libs/vendor_lib -T ../../../libs/vendor_lib/boot.link -o"tuyaos_demo_zg_light2.elf" $(OBJS) $(USER_OBJS) $(LIBS)
	-@echo 'Finished building target: $@'
	-@echo ' '
	$(MAKE) --no-print-directory post-build

boot-.lst: tuyaos_demo_zg_light2.elf

: tuyaos_demo_zg_light2.elf
	-@echo 'Create Flash image (binary format)'
	../../../tools/tc32/tc32/bin/tc32-elf-objcopy tuyaos_demo_zg_light2.elf
	-@echo 'Finished building: $@'
	-@echo ' '

sizedummy: tuyaos_demo_zg_light2.elf
	-@echo 'Invoking: Print Size'
	../../../tools/tc32/tc32/bin/tc32-elf-size -t tuyaos_demo_zg_light2.elf
	-@echo 'Finished building: $@'
	-@echo ' '

# Other Targets
clean:
	-$(RM) $(FLASH_IMAGE)$(ELFS)$(OBJS)$(LST)$(SIZEDUMMY) tuyaos_demo_zg_light2.elf
	-@echo ' '

post-build:
	-@echo ' ' 

secondary-outputs: $(LST) $(FLASH_IMAGE) $(SIZEDUMMY)

.PHONY: all clean dependents
.SECONDARY: post-build

-include ../makefile.targets
