makefile 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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 Startup/subdir.mk
  9. -include Src/subdir.mk
  10. -include Drivers/STM32F1xx_HAL_Driver/Src/subdir.mk
  11. -include Bluecell_Src/subdir.mk
  12. -include subdir.mk
  13. -include objects.mk
  14. ifneq ($(MAKECMDGOALS),clean)
  15. ifneq ($(strip $(C_DEPS)),)
  16. -include $(C_DEPS)
  17. endif
  18. endif
  19. -include ../makefile.defs
  20. # Add inputs and outputs from these tool invocations to the build variables
  21. EXECUTABLES += \
  22. Nesslab_200M_System.elf \
  23. SIZE_OUTPUT += \
  24. default.size.stdout \
  25. OBJDUMP_LIST += \
  26. Nesslab_200M_System.list \
  27. OBJCOPY_BIN += \
  28. Nesslab_200M_System.bin \
  29. # All Target
  30. all: Nesslab_200M_System.elf secondary-outputs
  31. # Tool invocations
  32. Nesslab_200M_System.elf: $(OBJS) $(USER_OBJS) D:\CubeIDE_Workspace\Nesslab_200M_System\STM32F100C8TX_FLASH.ld
  33. arm-none-eabi-gcc -o "Nesslab_200M_System.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m3 -T"D:\CubeIDE_Workspace\Nesslab_200M_System\STM32F100C8TX_FLASH.ld" --specs=nosys.specs -Wl,-Map="Nesslab_200M_System.map" -Wl,--gc-sections -static -u_printf_float --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
  34. @echo 'Finished building target: $@'
  35. @echo ' '
  36. default.size.stdout: $(EXECUTABLES)
  37. arm-none-eabi-size $(EXECUTABLES)
  38. @echo 'Finished building: $@'
  39. @echo ' '
  40. Nesslab_200M_System.list: $(EXECUTABLES)
  41. arm-none-eabi-objdump -h -S $(EXECUTABLES) > "Nesslab_200M_System.list"
  42. @echo 'Finished building: $@'
  43. @echo ' '
  44. Nesslab_200M_System.bin: $(EXECUTABLES)
  45. arm-none-eabi-objcopy -O binary $(EXECUTABLES) "Nesslab_200M_System.bin"
  46. @echo 'Finished building: $@'
  47. @echo ' '
  48. # Other Targets
  49. clean:
  50. -$(RM) *
  51. -@echo ' '
  52. secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST) $(OBJCOPY_BIN)
  53. .PHONY: all clean dependents
  54. .SECONDARY:
  55. -include ../makefile.targets