makefile 1.8 KB

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