makefile 2.9 KB

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