################################################################################
# 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 utilities/subdir.mk
-include startup/subdir.mk
-include source/common/gatt_db/subdir.mk
-include source/common/subdir.mk
-include source/subdir.mk
-include secure-subsystem/sscp/subdir.mk
-include secure-subsystem/port/subdir.mk
-include secure-subsystem/mgmt/subdir.mk
-include rpmsg_lite/virtio/subdir.mk
-include rpmsg_lite/rpmsg_lite/porting/platform/kw45b41/subdir.mk
-include rpmsg_lite/rpmsg_lite/porting/environment/subdir.mk
-include rpmsg_lite/rpmsg_lite/subdir.mk
-include rpmsg_lite/common/subdir.mk
-include nor_flash/subdir.mk
-include mcmgr/subdir.mk
-include framework/Sensors/subdir.mk
-include framework/SecLib/subdir.mk
-include framework/RNG/subdir.mk
-include framework/Platform/subdir.mk
-include framework/OtaSupport/source/subdir.mk
-include framework/NVM/source/subdir.mk
-include framework/ModuleInfo/subdir.mk
-include framework/MWSCoexistence/Intercore/subdir.mk
-include framework/MWSCoexistence/subdir.mk
-include framework/LowPower/subdir.mk
-include framework/HWParameter/subdir.mk
-include framework/FunctionLib/subdir.mk
-include drivers/subdir.mk
-include device/subdir.mk
-include component/uart/subdir.mk
-include component/timer_manager/subdir.mk
-include component/timer/subdir.mk
-include component/time_stamp/subdir.mk
-include component/serial_manager/subdir.mk
-include component/rpmsg/subdir.mk
-include component/rng/subdir.mk
-include component/reset/subdir.mk
-include component/power_manager/core/subdir.mk
-include component/power_manager/boards/KW45B41Z-EVK/subdir.mk
-include component/panic/subdir.mk
-include component/osa/subdir.mk
-include component/messaging/subdir.mk
-include component/mem_manager/subdir.mk
-include component/log/subdir.mk
-include component/lists/subdir.mk
-include component/led/subdir.mk
-include component/internal_flash/subdir.mk
-include component/gpio/subdir.mk
-include component/common_task/subdir.mk
-include component/button/subdir.mk
-include board/lowpower/subdir.mk
-include board/extflash/subdir.mk
-include board/dcdc/subdir.mk
-include board/components/subdir.mk
-include board/subdir.mk
-include bluetooth/profiles/wireless_uart/subdir.mk
-include bluetooth/profiles/otap/subdir.mk
-include bluetooth/profiles/device_info/subdir.mk
-include bluetooth/profiles/battery/subdir.mk
-include bluetooth/port/subdir.mk
-include bluetooth/host/config/subdir.mk
-include bluetooth/hci_transport/source/subdir.mk
-include bluetooth/controller/interface/subdir.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
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 := kw45b41zevk_wireless_uart_bm
BUILD_ARTIFACT_EXTENSION := axf
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 

# All Target
all:
	+@$(MAKE) --no-print-directory main-build && $(MAKE) --no-print-directory post-build

# Main-build Target
main-build: kw45b41zevk_wireless_uart_bm.axf

# Tool invocations
kw45b41zevk_wireless_uart_bm.axf: $(OBJS) $(USER_OBJS) makefile objects.mk $(OPTIONAL_TOOL_DEPS)
	@echo 'Building target: $@'
	@echo 'Invoking: MCU Linker'
	arm-none-eabi-gcc -nostdlib -L"C:\Users\nxf80763\Documents\MCUXpressoIDE_11.6.1_8255\workspace\kw45b41zevk_wireless_uart_bm\libs" -L"C:\Users\nxf80763\Documents\MCUXpressoIDE_11.6.1_8255\workspace\kw45b41zevk_wireless_uart_bm\framework\framework\SecLib" -Xlinker --sort-section=alignment -Xlinker --defsym=__ram_vector_table__=1 -Xlinker --defsym=gUseNVMLink_d=1 -Xlinker --gc-sections -Xlinker -print-memory-usage -Xlinker -Map="kw45b41zevk_wireless_uart_bm.map" -Xlinker --defsym=gUseStackEnd_d=1 -Xlinker --cref -mcpu=cortex-m33 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -T kw45b41zevk_wireless_uart_bm_Debug.ld -o "kw45b41zevk_wireless_uart_bm.axf" $(OBJS) $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo ' '

# Other Targets
clean:
	-$(RM) kw45b41zevk_wireless_uart_bm.axf
	-@echo ' '

post-build:
	-@echo 'Performing post-build steps'
	-arm-none-eabi-size "kw45b41zevk_wireless_uart_bm.axf"; # arm-none-eabi-objcopy -v -O binary "kw45b41zevk_wireless_uart_bm.axf" "kw45b41zevk_wireless_uart_bm.bin" ; # checksum -p KW45B41Z83xxxA -d "kw45b41zevk_wireless_uart_bm.bin";
	-@echo ' '

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

-include ../makefile.targets
