################################################################################
# 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 src/uds/subdir.mk
-include src/Vehicle_System_Mode_Layer/subdir.mk
-include src/Safety_Layer/EMERGENCY/subdir.mk
-include src/Safety_Layer/ECU_Check/subdir.mk
-include src/Safety_Layer/CRC/subdir.mk
-include src/Safety_Layer/BMS/subdir.mk
-include src/Operation_Layer/Wiper/subdir.mk
-include src/Operation_Layer/SW_Version/subdir.mk
-include src/Operation_Layer/MCU/subdir.mk
-include src/Operation_Layer/Lamp/subdir.mk
-include src/Operation_Layer/subdir.mk
-include src/Logic/subdir.mk
-include src/IG_Layer/subdir.mk
-include src/HAL/watchdog_hal/src/subdir.mk
-include src/subdir.mk
-include generate/src/subdir.mk
-include generate/include/subdir.mk
-include board/subdir.mk
-include RTD/src/subdir.mk
-include Project_Settings/Startup_Code/subdir.mk
-include subdir.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
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 += \
GW.srec \

SECONDARY_SIZE += \
GW.siz \


# All Target
all: GW.elf secondary-outputs

# Tool invocations
GW.elf: $(OBJS) C:/Users/MSI/Documents/WorkSpace/git/ADM/GW/Project_Settings/Linker_Files/linker_flash.ld $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: Standard S32DS C Linker'
	arm-none-eabi-gcc -o "GW.elf" "@GW.args"  $(USER_OBJS)
	@echo 'Finished building target: $@'
	@echo ' '

GW.srec: GW.elf
	@echo 'Invoking: Standard S32DS Create Flash Image'
	arm-none-eabi-objcopy -O srec GW.elf  "GW.srec"
	@echo 'Finished building: $@'
	@echo ' '

GW.siz: GW.elf
	@echo 'Invoking: Standard S32DS Print Size'
	arm-none-eabi-size --format=berkeley GW.elf
	@echo 'Finished building: $@'
	@echo ' '

# Other Targets
clean:
	-$(RM) ./*
	-@echo ' '

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

.PHONY: all clean dependents

-include ../makefile.targets
