mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 01:43:59 +09:00
82 lines
2.1 KiB
Makefile
82 lines
2.1 KiB
Makefile
################################################################################
|
|
# 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/IGN/subdir.mk
|
|
-include src/Vehicle_System_Mode_Layer/EMERGENCY/subdir.mk
|
|
-include src/Vehicle_System_Mode_Layer/subdir.mk
|
|
-include src/VCU/subdir.mk
|
|
-include src/RWA/subdir.mk
|
|
-include src/Operation_Mode_Layer/subdir.mk
|
|
-include src/MCU/subdir.mk
|
|
-include src/IDB_RCU/subdir.mk
|
|
-include src/HAL/watchdog_hal/src/subdir.mk
|
|
-include src/CRC/subdir.mk
|
|
-include src/BMS/subdir.mk
|
|
-include src/BCM/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/SUPYO/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
|