makefile 3.3 KB

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