makefile 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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/system/OS/subdir.mk
  12. -include Middlewares/Third_Party/LwIP/src/netif/ppp/subdir.mk
  13. -include Middlewares/Third_Party/LwIP/src/netif/subdir.mk
  14. -include Middlewares/Third_Party/LwIP/src/core/ipv6/subdir.mk
  15. -include Middlewares/Third_Party/LwIP/src/core/ipv4/subdir.mk
  16. -include Middlewares/Third_Party/LwIP/src/core/subdir.mk
  17. -include Middlewares/Third_Party/LwIP/src/apps/mqtt/subdir.mk
  18. -include Middlewares/Third_Party/LwIP/src/api/subdir.mk
  19. -include Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/subdir.mk
  20. -include Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/subdir.mk
  21. -include Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/subdir.mk
  22. -include Middlewares/Third_Party/FreeRTOS/Source/subdir.mk
  23. -include LWIP/Target/subdir.mk
  24. -include LWIP/App/subdir.mk
  25. -include Drivers/STM32H7xx_HAL_Driver/Src/subdir.mk
  26. -include Drivers/BSP/Components/lan8742/subdir.mk
  27. -include Drivers/BSP/Components/dp83848/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 $(S_DEPS)),)
  33. -include $(S_DEPS)
  34. endif
  35. ifneq ($(strip $(S_UPPER_DEPS)),)
  36. -include $(S_UPPER_DEPS)
  37. endif
  38. ifneq ($(strip $(C_DEPS)),)
  39. -include $(C_DEPS)
  40. endif
  41. endif
  42. -include ../makefile.defs
  43. OPTIONAL_TOOL_DEPS := \
  44. $(wildcard ../makefile.defs) \
  45. $(wildcard ../makefile.init) \
  46. $(wildcard ../makefile.targets) \
  47. BUILD_ARTIFACT_NAME := OZE_Main
  48. BUILD_ARTIFACT_EXTENSION := elf
  49. BUILD_ARTIFACT_PREFIX :=
  50. BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),)
  51. # Add inputs and outputs from these tool invocations to the build variables
  52. EXECUTABLES += \
  53. OZE_Main.elf \
  54. MAP_FILES += \
  55. OZE_Main.map \
  56. SIZE_OUTPUT += \
  57. default.size.stdout \
  58. OBJDUMP_LIST += \
  59. OZE_Main.list \
  60. # All Target
  61. all: main-build
  62. # Main-build Target
  63. main-build: OZE_Main.elf secondary-outputs
  64. # Tool invocations
  65. OZE_Main.elf OZE_Main.map: $(OBJS) $(USER_OBJS) /home/jakubski/STM32CubeIDE/workspace_1.15.1/OZE_Main/STM32H742VITX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
  66. arm-none-eabi-gcc -o "OZE_Main.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m7 -T"/home/jakubski/STM32CubeIDE/workspace_1.15.1/OZE_Main/STM32H742VITX_FLASH.ld" --specs=nosys.specs -Wl,-Map="OZE_Main.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -u _printf_float -Wl,--start-group -lc -lm -Wl,--end-group
  67. @echo 'Finished building target: $@'
  68. @echo ' '
  69. default.size.stdout: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
  70. arm-none-eabi-size $(EXECUTABLES)
  71. @echo 'Finished building: $@'
  72. @echo ' '
  73. OZE_Main.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
  74. arm-none-eabi-objdump -h -S $(EXECUTABLES) > "OZE_Main.list"
  75. @echo 'Finished building: $@'
  76. @echo ' '
  77. # Other Targets
  78. clean:
  79. -$(RM) OZE_Main.elf OZE_Main.list OZE_Main.map default.size.stdout
  80. -@echo ' '
  81. secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST)
  82. fail-specified-linker-script-missing:
  83. @echo 'Error: Cannot find the specified linker script. Check the linker settings in the build configuration.'
  84. @exit 2
  85. warn-no-linker-script-specified:
  86. @echo 'Warning: No linker script specified. Check the linker settings in the build configuration.'
  87. .PHONY: all clean dependents main-build fail-specified-linker-script-missing warn-no-linker-script-specified
  88. -include ../makefile.targets