基质喷涂
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

144 lines
4.3 KiB

  1. ################################################################################
  2. # Automatically-generated file. Do not edit!
  3. # Toolchain: GNU Tools for STM32 (12.3.rel1)
  4. ################################################################################
  5. -include ../makefile.init
  6. RM := rm -rf
  7. # All of the sources participating in the build are defined here
  8. -include sources.mk
  9. -include User/components/tmcdriver/tmc51x0/subdir.mk
  10. -include User/app/subdir.mk
  11. -include User/BSP/uart_dbg/subdir.mk
  12. -include User/BSP/uart_control/subdir.mk
  13. -include User/BSP/uart_cmd/subdir.mk
  14. -include User/BSP/tim_pwm/subdir.mk
  15. -include User/BSP/status/subdir.mk
  16. -include User/BSP/can_control/subdir.mk
  17. -include User/BSP/can/subdir.mk
  18. -include User/BSP/base/c/subdir.mk
  19. -include User/BSP/base/subdir.mk
  20. -include User/BSP/LED/subdir.mk
  21. -include User/BSP/subdir.mk
  22. -include Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/subdir.mk
  23. -include Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/subdir.mk
  24. -include Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/subdir.mk
  25. -include Middlewares/Third_Party/FreeRTOS/Source/subdir.mk
  26. -include Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk
  27. -include Core/ThreadSafe/subdir.mk
  28. -include Core/Startup/subdir.mk
  29. -include Core/Src/subdir.mk
  30. -include objects.mk
  31. ifneq ($(MAKECMDGOALS),clean)
  32. ifneq ($(strip $(CC_DEPS)),)
  33. -include $(CC_DEPS)
  34. endif
  35. ifneq ($(strip $(C++_DEPS)),)
  36. -include $(C++_DEPS)
  37. endif
  38. ifneq ($(strip $(CCM_DEPS)),)
  39. -include $(CCM_DEPS)
  40. endif
  41. ifneq ($(strip $(C_UPPER_DEPS)),)
  42. -include $(C_UPPER_DEPS)
  43. endif
  44. ifneq ($(strip $(CXX_DEPS)),)
  45. -include $(CXX_DEPS)
  46. endif
  47. ifneq ($(strip $(S_DEPS)),)
  48. -include $(S_DEPS)
  49. endif
  50. ifneq ($(strip $(S_UPPER_DEPS)),)
  51. -include $(S_UPPER_DEPS)
  52. endif
  53. ifneq ($(strip $(CXXM_DEPS)),)
  54. -include $(CXXM_DEPS)
  55. endif
  56. ifneq ($(strip $(C++M_DEPS)),)
  57. -include $(C++M_DEPS)
  58. endif
  59. ifneq ($(strip $(C_DEPS)),)
  60. -include $(C_DEPS)
  61. endif
  62. ifneq ($(strip $(CPP_DEPS)),)
  63. -include $(CPP_DEPS)
  64. endif
  65. endif
  66. -include ../makefile.defs
  67. OPTIONAL_TOOL_DEPS := \
  68. $(wildcard ../makefile.defs) \
  69. $(wildcard ../makefile.init) \
  70. $(wildcard ../makefile.targets) \
  71. BUILD_ARTIFACT_NAME := STM32F429GT6
  72. BUILD_ARTIFACT_EXTENSION := elf
  73. BUILD_ARTIFACT_PREFIX :=
  74. BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),)
  75. # Add inputs and outputs from these tool invocations to the build variables
  76. EXECUTABLES += \
  77. STM32F429GT6.elf \
  78. MAP_FILES += \
  79. STM32F429GT6.map \
  80. SIZE_OUTPUT += \
  81. default.size.stdout \
  82. OBJDUMP_LIST += \
  83. STM32F429GT6.list \
  84. OBJCOPY_HEX += \
  85. STM32F429GT6.hex \
  86. # All Target
  87. all: main-build
  88. # Main-build Target
  89. main-build: STM32F429GT6.elf secondary-outputs
  90. # Tool invocations
  91. STM32F429GT6.elf STM32F429GT6.map: $(OBJS) $(USER_OBJS) D:\code\stm32\Sub_Spray_STM32\STM32F429ZGTX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
  92. arm-none-eabi-g++ -o "STM32F429GT6.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m4 -T"D:\code\stm32\Sub_Spray_STM32\STM32F429ZGTX_FLASH.ld" -Wl,-Map="STM32F429GT6.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -lstdc++ -lsupc++ -Wl,--end-group
  93. @echo 'Finished building target: $@'
  94. @echo ' '
  95. default.size.stdout: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
  96. arm-none-eabi-size $(EXECUTABLES)
  97. @echo 'Finished building: $@'
  98. @echo ' '
  99. STM32F429GT6.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
  100. arm-none-eabi-objdump -h -S $(EXECUTABLES) > "STM32F429GT6.list"
  101. @echo 'Finished building: $@'
  102. @echo ' '
  103. STM32F429GT6.hex: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
  104. arm-none-eabi-objcopy -O ihex $(EXECUTABLES) "STM32F429GT6.hex"
  105. @echo 'Finished building: $@'
  106. @echo ' '
  107. # Other Targets
  108. clean:
  109. -$(RM) STM32F429GT6.elf STM32F429GT6.hex STM32F429GT6.list STM32F429GT6.map default.size.stdout
  110. -@echo ' '
  111. secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST) $(OBJCOPY_HEX)
  112. fail-specified-linker-script-missing:
  113. @echo 'Error: Cannot find the specified linker script. Check the linker settings in the build configuration.'
  114. @exit 2
  115. warn-no-linker-script-specified:
  116. @echo 'Warning: No linker script specified. Check the linker settings in the build configuration.'
  117. .PHONY: all clean dependents main-build fail-specified-linker-script-missing warn-no-linker-script-specified
  118. -include ../makefile.targets