You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

makefile 2.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. ################################################################################
  2. # Automatically-generated file. Do not edit!
  3. ################################################################################
  4. -include ../makefile.init
  5. RM := rm -rf
  6. # All of the sources participating in the build are defined here
  7. -include sources.mk
  8. -include Middlewares/Third_Party/FatFs/src/option/subdir.mk
  9. -include Middlewares/Third_Party/FatFs/src/subdir.mk
  10. -include FATFS/Target/subdir.mk
  11. -include FATFS/App/subdir.mk
  12. -include Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk
  13. -include Core/Startup/subdir.mk
  14. -include Core/Src/subdir.mk
  15. -include 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. BUILD_ARTIFACT_NAME := SD_Card_F401RE
  30. BUILD_ARTIFACT_EXTENSION := elf
  31. BUILD_ARTIFACT_PREFIX :=
  32. BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME).$(BUILD_ARTIFACT_EXTENSION)
  33. # Add inputs and outputs from these tool invocations to the build variables
  34. EXECUTABLES += \
  35. SD_Card_F401RE.elf \
  36. SIZE_OUTPUT += \
  37. default.size.stdout \
  38. OBJDUMP_LIST += \
  39. SD_Card_F401RE.list \
  40. OBJCOPY_BIN += \
  41. SD_Card_F401RE.bin \
  42. # All Target
  43. all: main-build
  44. # Main-build Target
  45. main-build: SD_Card_F401RE.elf secondary-outputs
  46. # Tool invocations
  47. SD_Card_F401RE.elf: $(OBJS) $(USER_OBJS) C:\Users\Gregor\Desktop\Projektarbeit\Workspace\SD_Card_F401RE\STM32F401RETX_FLASH.ld
  48. arm-none-eabi-gcc -o "SD_Card_F401RE.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m4 -T"C:\Users\Gregor\Desktop\Projektarbeit\Workspace\SD_Card_F401RE\STM32F401RETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="SD_Card_F401RE.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-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)
  52. arm-none-eabi-size $(EXECUTABLES)
  53. @echo 'Finished building: $@'
  54. @echo ' '
  55. SD_Card_F401RE.list: $(EXECUTABLES)
  56. arm-none-eabi-objdump -h -S $(EXECUTABLES) > "SD_Card_F401RE.list"
  57. @echo 'Finished building: $@'
  58. @echo ' '
  59. SD_Card_F401RE.bin: $(EXECUTABLES)
  60. arm-none-eabi-objcopy -O binary $(EXECUTABLES) "SD_Card_F401RE.bin"
  61. @echo 'Finished building: $@'
  62. @echo ' '
  63. # Other Targets
  64. clean:
  65. -$(RM) *
  66. -@echo ' '
  67. secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST) $(OBJCOPY_BIN)
  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 fail-specified-linker-script-missing warn-no-linker-script-specified
  74. .SECONDARY:
  75. -include ../makefile.targets