makefile 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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 objects.mk
  20. ifneq ($(MAKECMDGOALS),clean)
  21. ifneq ($(strip $(S_DEPS)),)
  22. -include $(S_DEPS)
  23. endif
  24. ifneq ($(strip $(S_UPPER_DEPS)),)
  25. -include $(S_UPPER_DEPS)
  26. endif
  27. ifneq ($(strip $(C_DEPS)),)
  28. -include $(C_DEPS)
  29. endif
  30. endif
  31. -include ../makefile.defs
  32. OPTIONAL_TOOL_DEPS := \
  33. $(wildcard ../makefile.defs) \
  34. $(wildcard ../makefile.init) \
  35. $(wildcard ../makefile.targets) \
  36. BUILD_ARTIFACT_NAME := STM32H7-node-red-CM7
  37. BUILD_ARTIFACT_EXTENSION := elf
  38. BUILD_ARTIFACT_PREFIX :=
  39. BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),)
  40. # Add inputs and outputs from these tool invocations to the build variables
  41. EXECUTABLES += \
  42. STM32H7-node-red-CM7.elf \
  43. MAP_FILES += \
  44. STM32H7-node-red-CM7.map \
  45. SIZE_OUTPUT += \
  46. default.size.stdout \
  47. OBJDUMP_LIST += \
  48. STM32H7-node-red-CM7.list \
  49. # All Target
  50. all: main-build
  51. # Main-build Target
  52. main-build: STM32H7-node-red-CM7.elf secondary-outputs
  53. # Tool invocations
  54. 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)
  55. 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
  56. @echo 'Finished building target: $@'
  57. @echo ' '
  58. default.size.stdout: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
  59. arm-none-eabi-size $(EXECUTABLES)
  60. @echo 'Finished building: $@'
  61. @echo ' '
  62. STM32H7-node-red-CM7.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
  63. arm-none-eabi-objdump -h -S $(EXECUTABLES) > "STM32H7-node-red-CM7.list"
  64. @echo 'Finished building: $@'
  65. @echo ' '
  66. # Other Targets
  67. clean:
  68. -$(RM) STM32H7-node-red-CM7.elf STM32H7-node-red-CM7.list STM32H7-node-red-CM7.map default.size.stdout
  69. -@echo ' '
  70. secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST)
  71. fail-specified-linker-script-missing:
  72. @echo 'Error: Cannot find the specified linker script. Check the linker settings in the build configuration.'
  73. @exit 2
  74. warn-no-linker-script-specified:
  75. @echo 'Warning: No linker script specified. Check the linker settings in the build configuration.'
  76. .PHONY: all clean dependents main-build fail-specified-linker-script-missing warn-no-linker-script-specified
  77. -include ../makefile.targets