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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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/STM32L1xx_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. # Add inputs and outputs from these tool invocations to the build variables
  30. EXECUTABLES += \
  31. SD_CARD_SPI.elf \
  32. SIZE_OUTPUT += \
  33. default.size.stdout \
  34. OBJDUMP_LIST += \
  35. SD_CARD_SPI.list \
  36. OBJCOPY_BIN += \
  37. SD_CARD_SPI.bin \
  38. # All Target
  39. all: SD_CARD_SPI.elf secondary-outputs
  40. # Tool invocations
  41. SD_CARD_SPI.elf: $(OBJS) $(USER_OBJS) C:\Users\Gregor\Desktop\Projektarbeit\Workspace\SD_CARD_SPI\STM32L152RETX_FLASH.ld
  42. arm-none-eabi-gcc -o "SD_CARD_SPI.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m3 -T"C:\Users\Gregor\Desktop\Projektarbeit\Workspace\SD_CARD_SPI\STM32L152RETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="SD_CARD_SPI.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
  43. @echo 'Finished building target: $@'
  44. @echo ' '
  45. default.size.stdout: $(EXECUTABLES)
  46. arm-none-eabi-size $(EXECUTABLES)
  47. @echo 'Finished building: $@'
  48. @echo ' '
  49. SD_CARD_SPI.list: $(EXECUTABLES)
  50. arm-none-eabi-objdump -h -S $(EXECUTABLES) > "SD_CARD_SPI.list"
  51. @echo 'Finished building: $@'
  52. @echo ' '
  53. SD_CARD_SPI.bin: $(EXECUTABLES)
  54. arm-none-eabi-objcopy -O binary $(EXECUTABLES) "SD_CARD_SPI.bin"
  55. @echo 'Finished building: $@'
  56. @echo ' '
  57. # Other Targets
  58. clean:
  59. -$(RM) *
  60. -@echo ' '
  61. secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST) $(OBJCOPY_BIN)
  62. .PHONY: all clean dependents
  63. .SECONDARY:
  64. -include ../makefile.targets