55 lines
1.7 KiB
Makefile
55 lines
1.7 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 cmsis_boot/subdir.mk
|
||
|
-include boot/subdir.mk
|
||
|
-include UART/subdir.mk
|
||
|
-include FATFS/shimatta_sdio_driver/subdir.mk
|
||
|
-include FATFS/option/subdir.mk
|
||
|
-include FATFS/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
|
||
|
|
||
|
# All Target
|
||
|
all: SDCardTemplate_stm32f407vgt6.elf
|
||
|
|
||
|
# Tool invocations
|
||
|
SDCardTemplate_stm32f407vgt6.elf: $(OBJS) $(USER_OBJS)
|
||
|
@echo 'Building target: $@'
|
||
|
@echo 'Invoking: Cross GCC Linker'
|
||
|
arm-none-eabi-gcc -nostartfiles -L"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6" -L"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/mathlib" -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Tstm32f407vgt6_flash.ld -Wl,-Map=mapfile.map --disable-newlib-supplied-syscalls -o "SDCardTemplate_stm32f407vgt6.elf" $(OBJS) $(USER_OBJS) $(LIBS)
|
||
|
@echo 'Finished building target: $@'
|
||
|
@echo ' '
|
||
|
$(MAKE) --no-print-directory post-build
|
||
|
|
||
|
# Other Targets
|
||
|
clean:
|
||
|
-$(RM) $(OBJS)$(C_DEPS)$(EXECUTABLES) SDCardTemplate_stm32f407vgt6.elf
|
||
|
-@echo ' '
|
||
|
|
||
|
post-build:
|
||
|
-arm-none-eabi-size SDCardTemplate_stm32f407vgt6.elf
|
||
|
-@echo ' '
|
||
|
|
||
|
.PHONY: all clean dependents
|
||
|
.SECONDARY: post-build
|
||
|
|
||
|
-include ../makefile.targets
|