makefile 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. ################################################################################
  2. # Automatically-generated file. Do not edit!
  3. # Toolchain: GNU Tools for STM32 (10.3-2021.10)
  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 Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/subdir.mk
  10. -include Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/subdir.mk
  11. -include Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/subdir.mk
  12. -include Middlewares/Third_Party/FreeRTOS/Source/subdir.mk
  13. -include Drivers/STM32F7xx_HAL_Driver/Src/subdir.mk
  14. -include Core/Startup/subdir.mk
  15. -include Core/Src/subdir.mk
  16. -include objects.mk
  17. ifneq ($(MAKECMDGOALS),clean)
  18. ifneq ($(strip $(S_DEPS)),)
  19. -include $(S_DEPS)
  20. endif
  21. ifneq ($(strip $(S_UPPER_DEPS)),)
  22. -include $(S_UPPER_DEPS)
  23. endif
  24. ifneq ($(strip $(C_DEPS)),)
  25. -include $(C_DEPS)
  26. endif
  27. endif
  28. -include ../makefile.defs
  29. OPTIONAL_TOOL_DEPS := \
  30. $(wildcard ../makefile.defs) \
  31. $(wildcard ../makefile.init) \
  32. $(wildcard ../makefile.targets) \
  33. BUILD_ARTIFACT_NAME := SoftwareTimer_pre
  34. BUILD_ARTIFACT_EXTENSION := elf
  35. BUILD_ARTIFACT_PREFIX :=
  36. BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),)
  37. # Add inputs and outputs from these tool invocations to the build variables
  38. EXECUTABLES += \
  39. SoftwareTimer_pre.elf \
  40. MAP_FILES += \
  41. SoftwareTimer_pre.map \
  42. SIZE_OUTPUT += \
  43. default.size.stdout \
  44. OBJDUMP_LIST += \
  45. SoftwareTimer_pre.list \
  46. # All Target
  47. all: main-build
  48. # Main-build Target
  49. main-build: SoftwareTimer_pre.elf secondary-outputs
  50. # Tool invocations
  51. SoftwareTimer_pre.elf SoftwareTimer_pre.map: $(OBJS) $(USER_OBJS) D:\ST\SoftwareTimer_pre\STM32F769NIHX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
  52. arm-none-eabi-gcc -o "SoftwareTimer_pre.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m7 -T"D:\ST\SoftwareTimer_pre\STM32F769NIHX_FLASH.ld" --specs=nosys.specs -Wl,-Map="SoftwareTimer_pre.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
  53. @echo 'Finished building target: $@'
  54. @echo ' '
  55. default.size.stdout: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
  56. arm-none-eabi-size $(EXECUTABLES)
  57. @echo 'Finished building: $@'
  58. @echo ' '
  59. SoftwareTimer_pre.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
  60. arm-none-eabi-objdump -h -S $(EXECUTABLES) > "SoftwareTimer_pre.list"
  61. @echo 'Finished building: $@'
  62. @echo ' '
  63. # Other Targets
  64. clean:
  65. -$(RM) SoftwareTimer_pre.elf SoftwareTimer_pre.list SoftwareTimer_pre.map default.size.stdout
  66. -@echo ' '
  67. secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST)
  68. fail-specified-linker-script-missing:
  69. @echo 'Error: Cannot find the specified linker script. Check the linker settings in the build configuration.'
  70. @exit 2
  71. warn-no-linker-script-specified:
  72. @echo 'Warning: No linker script specified. Check the linker settings in the build configuration.'
  73. .PHONY: all clean dependents main-build fail-specified-linker-script-missing warn-no-linker-script-specified
  74. -include ../makefile.targets