基质喷涂
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.

135 lines
4.1 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_cmd/subdir.mk
  13. -include User/BSP/tim_pwm/subdir.mk
  14. -include User/BSP/status/subdir.mk
  15. -include User/BSP/can_control/subdir.mk
  16. -include User/BSP/can/subdir.mk
  17. -include User/BSP/base/c/subdir.mk
  18. -include User/BSP/base/subdir.mk
  19. -include User/BSP/LED/subdir.mk
  20. -include User/BSP/subdir.mk
  21. -include Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/subdir.mk
  22. -include Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/subdir.mk
  23. -include Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/subdir.mk
  24. -include Middlewares/Third_Party/FreeRTOS/Source/subdir.mk
  25. -include Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk
  26. -include Core/ThreadSafe/subdir.mk
  27. -include Core/Startup/subdir.mk
  28. -include Core/Src/subdir.mk
  29. -include objects.mk
  30. ifneq ($(MAKECMDGOALS),clean)
  31. ifneq ($(strip $(CC_DEPS)),)
  32. -include $(CC_DEPS)
  33. endif
  34. ifneq ($(strip $(C++_DEPS)),)
  35. -include $(C++_DEPS)
  36. endif
  37. ifneq ($(strip $(CCM_DEPS)),)
  38. -include $(CCM_DEPS)
  39. endif
  40. ifneq ($(strip $(C_UPPER_DEPS)),)
  41. -include $(C_UPPER_DEPS)
  42. endif
  43. ifneq ($(strip $(CXX_DEPS)),)
  44. -include $(CXX_DEPS)
  45. endif
  46. ifneq ($(strip $(S_DEPS)),)
  47. -include $(S_DEPS)
  48. endif
  49. ifneq ($(strip $(S_UPPER_DEPS)),)
  50. -include $(S_UPPER_DEPS)
  51. endif
  52. ifneq ($(strip $(CXXM_DEPS)),)
  53. -include $(CXXM_DEPS)
  54. endif
  55. ifneq ($(strip $(C++M_DEPS)),)
  56. -include $(C++M_DEPS)
  57. endif
  58. ifneq ($(strip $(C_DEPS)),)
  59. -include $(C_DEPS)
  60. endif
  61. ifneq ($(strip $(CPP_DEPS)),)
  62. -include $(CPP_DEPS)
  63. endif
  64. endif
  65. -include ../makefile.defs
  66. OPTIONAL_TOOL_DEPS := \
  67. $(wildcard ../makefile.defs) \
  68. $(wildcard ../makefile.init) \
  69. $(wildcard ../makefile.targets) \
  70. BUILD_ARTIFACT_NAME := spray_stm32
  71. BUILD_ARTIFACT_EXTENSION := elf
  72. BUILD_ARTIFACT_PREFIX :=
  73. BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),)
  74. # Add inputs and outputs from these tool invocations to the build variables
  75. EXECUTABLES += \
  76. spray_stm32.elf \
  77. MAP_FILES += \
  78. spray_stm32.map \
  79. SIZE_OUTPUT += \
  80. default.size.stdout \
  81. OBJDUMP_LIST += \
  82. spray_stm32.list \
  83. # All Target
  84. all: main-build
  85. # Main-build Target
  86. main-build: spray_stm32.elf secondary-outputs
  87. # Tool invocations
  88. spray_stm32.elf spray_stm32.map: $(OBJS) $(USER_OBJS) D:\tmp_workspace\Sub_Spray_STM32_0319\spray_stm32\STM32F429ZGTX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
  89. arm-none-eabi-g++ -o "spray_stm32.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m4 -T"D:\tmp_workspace\Sub_Spray_STM32_0319\spray_stm32\STM32F429ZGTX_FLASH.ld" -Wl,-Map="spray_stm32.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
  90. @echo 'Finished building target: $@'
  91. @echo ' '
  92. default.size.stdout: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
  93. arm-none-eabi-size $(EXECUTABLES)
  94. @echo 'Finished building: $@'
  95. @echo ' '
  96. spray_stm32.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
  97. arm-none-eabi-objdump -h -S $(EXECUTABLES) > "spray_stm32.list"
  98. @echo 'Finished building: $@'
  99. @echo ' '
  100. # Other Targets
  101. clean:
  102. -$(RM) default.size.stdout spray_stm32.elf spray_stm32.list spray_stm32.map
  103. -@echo ' '
  104. secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST)
  105. fail-specified-linker-script-missing:
  106. @echo 'Error: Cannot find the specified linker script. Check the linker settings in the build configuration.'
  107. @exit 2
  108. warn-no-linker-script-specified:
  109. @echo 'Warning: No linker script specified. Check the linker settings in the build configuration.'
  110. .PHONY: all clean dependents main-build fail-specified-linker-script-missing warn-no-linker-script-specified
  111. -include ../makefile.targets