################################################################################
# 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 startup/subdir.mk
-include src/subdir.mk
-include sdk/peripherals/src/subdir.mk
-include sdk/osal/subdir.mk
-include sdk/memory/src/subdir.mk
-include sdk/cpm/subdir.mk
-include sdk/adapters/src/subdir.mk
-include sdk/FreeRTOS/portable/MemMang/subdir.mk
-include sdk/FreeRTOS/portable/GCC/ARM_CM0/subdir.mk
-include sdk/FreeRTOS/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

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

SECONDARY_SIZE += \
uart_dma_circular_buffer.siz \


# All Target
all: pre-build main-build

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

# Tool invocations
uart_dma_circular_buffer.elf: $(OBJS) $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: Cross ARM C Linker'
	arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g3 -T "C:\Users\blauret\dev\repo\sdk1\uart_dma_circular_buffer/DA14683-00-Debug_RAM/mem.ld" -T "C:\Users\blauret\dev\repo\sdk1\uart_dma_circular_buffer/DA14683-00-Debug_RAM/sections.ld" -Xlinker --gc-sections -L"C:\dev\DA1468x_DA15xxx_SDK_1.0.12.1078\sdk\bsp\misc" -Wl,-Map,"uart_dma_circular_buffer.map" --specs=nano.specs --specs=nosys.specs -o "uart_dma_circular_buffer.elf" $(OBJS) $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo ' '

uart_dma_circular_buffer.bin: uart_dma_circular_buffer.elf
	@echo 'Invoking: Cross ARM GNU Create Flash Image'
	arm-none-eabi-objcopy -O binary "uart_dma_circular_buffer.elf"  "uart_dma_circular_buffer.bin"
	@echo 'Finished building: $@'
	@echo ' '

uart_dma_circular_buffer.siz: uart_dma_circular_buffer.elf
	@echo 'Invoking: Cross ARM GNU Print Size'
	arm-none-eabi-size --format=berkeley "uart_dma_circular_buffer.elf"
	@echo 'Finished building: $@'
	@echo ' '

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

pre-build:
	-@echo 'Generate linker scripts.'
	-make generate_ldscripts PRE_BUILD_EXTRA_DEFS="" IC_REV=B IC_STEP=B APP_CONFIG_H="C:\Users\blauret\dev\repo\sdk1\uart_dma_circular_buffer\config\custom_config_ram.h" CC="arm-none-eabi-gcc" BSP_CONFIG_DIR="C:\dev\DA1468x_DA15xxx_SDK_1.0.12.1078\sdk\bsp\config" LDSCRIPT_PATH="C:\dev\DA1468x_DA15xxx_SDK_1.0.12.1078\sdk\bsp\ldscripts\non_ble_projects"
	-@echo ' '

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

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

-include ../makefile.targets
