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.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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 Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk
  9. -include Core/Startup/subdir.mk
  10. -include Core/Src/subdir.mk
  11. -include 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. BUILD_ARTIFACT_NAME := RTC
  26. BUILD_ARTIFACT_EXTENSION := elf
  27. BUILD_ARTIFACT_PREFIX :=
  28. BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME).$(BUILD_ARTIFACT_EXTENSION)
  29. # Add inputs and outputs from these tool invocations to the build variables
  30. EXECUTABLES += \
  31. RTC.elf \
  32. SIZE_OUTPUT += \
  33. default.size.stdout \
  34. OBJDUMP_LIST += \
  35. RTC.list \
  36. OBJCOPY_BIN += \
  37. RTC.bin \
  38. # All Target
  39. all: main-build
  40. # Main-build Target
  41. main-build: RTC.elf secondary-outputs
  42. # Tool invocations
  43. RTC.elf: $(OBJS) $(USER_OBJS) C:\Users\Gregor\Desktop\Projektarbeit\Workspace\RTC\STM32F401RETX_FLASH.ld
  44. arm-none-eabi-gcc -o "RTC.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m4 -T"C:\Users\Gregor\Desktop\Projektarbeit\Workspace\RTC\STM32F401RETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="RTC.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
  45. @echo 'Finished building target: $@'
  46. @echo ' '
  47. default.size.stdout: $(EXECUTABLES)
  48. arm-none-eabi-size $(EXECUTABLES)
  49. @echo 'Finished building: $@'
  50. @echo ' '
  51. RTC.list: $(EXECUTABLES)
  52. arm-none-eabi-objdump -h -S $(EXECUTABLES) > "RTC.list"
  53. @echo 'Finished building: $@'
  54. @echo ' '
  55. RTC.bin: $(EXECUTABLES)
  56. arm-none-eabi-objcopy -O binary $(EXECUTABLES) "RTC.bin"
  57. @echo 'Finished building: $@'
  58. @echo ' '
  59. # Other Targets
  60. clean:
  61. -$(RM) *
  62. -@echo ' '
  63. secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST) $(OBJCOPY_BIN)
  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 fail-specified-linker-script-missing warn-no-linker-script-specified
  70. .SECONDARY:
  71. -include ../makefile.targets