110VCGQ/project/110Vchuanganqi_0303/Debug/makefile

103 lines
3.2 KiB
Makefile
Raw Normal View History

2023-04-21 17:47:03 +08:00
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (10.3-2021.10)
################################################################################
-include ../makefile.init
RM := rm -rf
# All of the sources participating in the build are defined here
-include sources.mk
-include Drivers/STM32F0xx_HAL_Driver/Src/subdir.mk
-include Core/Startup/subdir.mk
-include Core/Src/subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(S_DEPS)),)
-include $(S_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
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 := 110Vchuanganqi
BUILD_ARTIFACT_EXTENSION := elf
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
EXECUTABLES += \
110Vchuanganqi.elf \
MAP_FILES += \
110Vchuanganqi.map \
OBJDUMP_LIST += \
110Vchuanganqi.list \
2023-07-12 14:20:59 +08:00
OBJCOPY_HEX += \
110Vchuanganqi.hex \
OBJCOPY_BIN += \
110Vchuanganqi.bin \
2023-04-21 17:47:03 +08:00
# All Target
all: main-build
# Main-build Target
main-build: 110Vchuanganqi.elf secondary-outputs
# Tool invocations
2023-07-12 14:20:59 +08:00
110Vchuanganqi.elf 110Vchuanganqi.map: $(OBJS) $(USER_OBJS) C:\Users\wyf\Desktop\110vCGQ\project\110Vchuanganqi_0303\STM32F030F4PX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-gcc -o "110Vchuanganqi.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m0 -T"C:\Users\wyf\Desktop\110vCGQ\project\110Vchuanganqi_0303\STM32F030F4PX_FLASH.ld" --specs=nosys.specs -Wl,-Map="110Vchuanganqi.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
2023-04-21 17:47:03 +08:00
@echo 'Finished building target: $@'
@echo ' '
2023-07-12 14:20:59 +08:00
110Vchuanganqi.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-objdump -h -S $(EXECUTABLES) > "110Vchuanganqi.list"
@echo 'Finished building: $@'
@echo ' '
110Vchuanganqi.hex: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-objcopy -O ihex $(EXECUTABLES) "110Vchuanganqi.hex"
2023-04-21 17:47:03 +08:00
@echo 'Finished building: $@'
@echo ' '
2023-07-12 14:20:59 +08:00
110Vchuanganqi.bin: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-objcopy -O binary $(EXECUTABLES) "110Vchuanganqi.bin"
2023-04-21 17:47:03 +08:00
@echo 'Finished building: $@'
@echo ' '
# Other Targets
clean:
2023-07-12 14:20:59 +08:00
-$(RM) 110Vchuanganqi.bin 110Vchuanganqi.elf 110Vchuanganqi.hex 110Vchuanganqi.list 110Vchuanganqi.map
2023-04-21 17:47:03 +08:00
-@echo ' '
2023-07-12 14:20:59 +08:00
secondary-outputs: $(OBJDUMP_LIST) $(OBJCOPY_HEX) $(OBJCOPY_BIN)
2023-04-21 17:47:03 +08:00
fail-specified-linker-script-missing:
@echo 'Error: Cannot find the specified linker script. Check the linker settings in the build configuration.'
@exit 2
warn-no-linker-script-specified:
@echo 'Warning: No linker script specified. Check the linker settings in the build configuration.'
.PHONY: all clean dependents main-build fail-specified-linker-script-missing warn-no-linker-script-specified
-include ../makefile.targets