Files
IronOS/workspace/TS100/Release/makefile
Ben V. Brown 7ca613e22b Migrate :O
2019-08-18 22:24:01 +10:00

93 lines
2.4 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 Startup/subdir.mk
-include Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/subdir.mk
-include Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3/subdir.mk
-include Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/subdir.mk
-include Middlewares/Third_Party/FreeRTOS/Source/subdir.mk
-include Drivers/STM32F1xx_HAL_Driver/Src/subdir.mk
-include Core/Src/subdir.mk
-include subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
endif
-include ../makefile.defs
# Add inputs and outputs from these tool invocations to the build variables
EXECUTABLES += \
TS100.elf \
SIZE_OUTPUT += \
default.size.stdout \
OBJDUMP_LIST += \
TS100.list \
OBJCOPY_HEX += \
TS100.hex \
# All Target
all: TS100.elf secondary-outputs
# Tool invocations
TS100.elf: $(OBJS) $(USER_OBJS) /home/ralim/source/ts100/workspace/TS100/LinkerScript.ld
arm-none-eabi-g++ -o "TS100.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m3 -T"/home/ralim/source/ts100/workspace/TS100/LinkerScript.ld" --specs=nosys.specs -Wl,-Map="TS100.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -lstdc++ -lsupc++ -Wl,--end-group
@echo 'Finished building target: $@'
@echo ' '
default.size.stdout: $(EXECUTABLES)
arm-none-eabi-size $(EXECUTABLES)
@echo 'Finished building: $@'
@echo ' '
TS100.list: $(EXECUTABLES)
arm-none-eabi-objdump -h -S $(EXECUTABLES) > "TS100.list"
@echo 'Finished building: $@'
@echo ' '
TS100.hex: $(EXECUTABLES)
arm-none-eabi-objcopy -O ihex $(EXECUTABLES) "TS100.hex"
@echo 'Finished building: $@'
@echo ' '
# Other Targets
clean:
-$(RM) *
-@echo ' '
secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST) $(OBJCOPY_HEX)
.PHONY: all clean dependents
.SECONDARY:
-include ../makefile.targets