################################################################################
# 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 llcc68_driver_common/subdir.mk
-include llcc68_driver/subdir.mk
-include Src/subdir.mk
-include Common/subdir.mk
-include CX32L003_HAL_Driver_Src/subdir.mk
-include CX32L003_EBYTE_E220_UART/subdir.mk
-include CMSIS_CX32L003_Source/GCC/subdir.mk
-include CMSIS_CX32L003_Source/subdir.mk
-include subdir.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
endif

-include ../makefile.defs

OPTIONAL_TOOL_DEPS := \
$(wildcard ../makefile.defs) \
$(wildcard ../makefile.init) \
$(wildcard ../makefile.targets) \


BUILD_ARTIFACT_NAME := llcc68_ping_pong
BUILD_ARTIFACT_EXTENSION := elf
BUILD_ARTIFACT_PREFIX :=
BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),)

# Add inputs and outputs from these tool invocations to the build variables 
SECONDARY_FLASH += \
llcc68_ping_pong.hex \

SECONDARY_LIST += \
llcc68_ping_pong.lst \

SECONDARY_SIZE += \
llcc68_ping_pong.siz \


# All Target
all: main-build

# Main-build Target
main-build: llcc68_ping_pong.elf secondary-outputs

# Tool invocations
llcc68_ping_pong.elf: $(OBJS) $(USER_OBJS) makefile objects.mk $(OPTIONAL_TOOL_DEPS)
	@echo 'Building target: $@'
	@echo 'Invoking: GNU ARM Cross C Linker'
	arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -g -T "D:\_proj\__Lab_Tools\LoRa_LoRaWAN\E220-900T22D_LLCC68_Teardown_Reverse\CX32L003_SDK_V1.4.2-20220725_MOD_BVE_EBYTE_E220_UART\E220-900T22D\llcc68_ping_pong\ECLIPSE\CX32L003_FLASH.ld" -Xlinker --gc-sections -Xlinker --print-memory-usage -Wl,-Map,"llcc68_ping_pong.map" --specs=nano.specs --specs=nosys.specs -o "llcc68_ping_pong.elf" $(OBJS) $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo ' '

llcc68_ping_pong.hex: llcc68_ping_pong.elf makefile objects.mk $(OPTIONAL_TOOL_DEPS)
	@echo 'Invoking: GNU ARM Cross Create Flash Image'
	arm-none-eabi-objcopy -O ihex "llcc68_ping_pong.elf"  "llcc68_ping_pong.hex"
	@echo 'Finished building: $@'
	@echo ' '

llcc68_ping_pong.lst: llcc68_ping_pong.elf makefile objects.mk $(OPTIONAL_TOOL_DEPS)
	@echo 'Invoking: GNU ARM Cross Create Listing'
	arm-none-eabi-objdump --source --all-headers --demangle --line-numbers --wide "llcc68_ping_pong.elf" > "llcc68_ping_pong.lst"
	@echo 'Finished building: $@'
	@echo ' '

llcc68_ping_pong.siz: llcc68_ping_pong.elf makefile objects.mk $(OPTIONAL_TOOL_DEPS)
	@echo 'Invoking: GNU ARM Cross Print Size'
	arm-none-eabi-size --format=berkeley --totals "llcc68_ping_pong.elf"
	@echo 'Finished building: $@'
	@echo ' '

# Other Targets
clean:
	-$(RM) $(OBJS)$(SECONDARY_FLASH)$(SECONDARY_LIST)$(SECONDARY_SIZE)$(ASM_DEPS)$(S_UPPER_DEPS)$(C_DEPS) llcc68_ping_pong.elf
	-@echo ' '

secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_LIST) $(SECONDARY_SIZE)

.PHONY: all clean dependents main-build

-include ../makefile.targets
