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

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