makefile 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 Source/subdir.mk
  11. -include Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/subdir.mk
  12. -include Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/subdir.mk
  13. -include Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/subdir.mk
  14. -include Middlewares/Third_Party/FreeRTOS/Source/subdir.mk
  15. -include Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk
  16. -include subdir.mk
  17. -include objects.mk
  18. ifneq ($(MAKECMDGOALS),clean)
  19. ifneq ($(strip $(S_UPPER_DEPS)),)
  20. -include $(S_UPPER_DEPS)
  21. endif
  22. ifneq ($(strip $(C_DEPS)),)
  23. -include $(C_DEPS)
  24. endif
  25. endif
  26. -include ../makefile.defs
  27. # Add inputs and outputs from these tool invocations to the build variables
  28. # All Target
  29. all: Controle.elf
  30. # Tool invocations
  31. Controle.elf: $(OBJS) $(USER_OBJS) ../STM32F401RCTx_FLASH.ld
  32. @echo 'Building target: $@'
  33. @echo 'Invoking: MCU GCC Linker'
  34. arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -specs=nosys.specs -specs=nano.specs -T"../STM32F401RCTx_FLASH.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "Controle.elf" @"objects.list" $(USER_OBJS) $(LIBS) -lm
  35. @echo 'Finished building target: $@'
  36. @echo ' '
  37. $(MAKE) --no-print-directory post-build
  38. # Other Targets
  39. clean:
  40. -$(RM) *
  41. -@echo ' '
  42. post-build:
  43. -@echo 'Generating hex and Printing size information:'
  44. arm-none-eabi-objcopy -O ihex "Controle.elf" "Controle.hex"
  45. arm-none-eabi-size "Controle.elf"
  46. -@echo ' '
  47. .PHONY: all clean dependents
  48. .SECONDARY: post-build
  49. -include ../makefile.targets