Advertisement
jiapei100

gnu-mcu-eclipse makefile

May 26th, 2018
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 3.12 KB | None | 0 0
  1. ################################################################################
  2. # Automatically-generated file. Do not edit!
  3. ################################################################################
  4.  
  5. -include ../makefile.init
  6.  
  7. RM := rm -rf
  8.  
  9. # All of the sources participating in the build are defined here
  10. -include sources.mk
  11. -include system/src/stm32f7-hal/subdir.mk
  12. -include system/src/newlib/subdir.mk
  13. -include system/src/diag/subdir.mk
  14. -include system/src/cortexm/subdir.mk
  15. -include system/src/cmsis/subdir.mk
  16. -include src/USMART/subdir.mk
  17. -include src/SYSTEM/usart/subdir.mk
  18. -include src/SYSTEM/sys/subdir.mk
  19. -include src/SYSTEM/delay/subdir.mk
  20. -include src/HARDWARE/USART2/subdir.mk
  21. -include src/HARDWARE/TIMER/subdir.mk
  22. -include src/HARDWARE/SDRAM/subdir.mk
  23. -include src/HARDWARE/PCF8574/subdir.mk
  24. -include src/HARDWARE/OV5640/subdir.mk
  25. -include src/HARDWARE/LED/subdir.mk
  26. -include src/HARDWARE/LCD/subdir.mk
  27. -include src/HARDWARE/KEY/subdir.mk
  28. -include src/HARDWARE/IIC/subdir.mk
  29. -include src/HARDWARE/DCMI/subdir.mk
  30. -include src/subdir.mk
  31. -include subdir.mk
  32. -include objects.mk
  33.  
  34. ifneq ($(MAKECMDGOALS),clean)
  35. ifneq ($(strip $(CC_DEPS)),)
  36. -include $(CC_DEPS)
  37. endif
  38. ifneq ($(strip $(C++_DEPS)),)
  39. -include $(C++_DEPS)
  40. endif
  41. ifneq ($(strip $(C_UPPER_DEPS)),)
  42. -include $(C_UPPER_DEPS)
  43. endif
  44. ifneq ($(strip $(CXX_DEPS)),)
  45. -include $(CXX_DEPS)
  46. endif
  47. ifneq ($(strip $(ASM_DEPS)),)
  48. -include $(ASM_DEPS)
  49. endif
  50. ifneq ($(strip $(S_UPPER_DEPS)),)
  51. -include $(S_UPPER_DEPS)
  52. endif
  53. ifneq ($(strip $(C_DEPS)),)
  54. -include $(C_DEPS)
  55. endif
  56. ifneq ($(strip $(CPP_DEPS)),)
  57. -include $(CPP_DEPS)
  58. endif
  59. endif
  60.  
  61. -include ../makefile.defs
  62.  
  63. # Add inputs and outputs from these tool invocations to the build variables
  64. SECONDARY_FLASH += \
  65. F767ZI_OV5640.hex \
  66.  
  67. SECONDARY_SIZE += \
  68. F767ZI_OV5640.siz \
  69.  
  70.  
  71. # All Target
  72. all: F767ZI_OV5640.elf secondary-outputs
  73.  
  74. # Tool invocations
  75. F767ZI_OV5640.elf: $(OBJS) $(USER_OBJS)
  76.     @echo 'Building target: $@'
  77.     @echo 'Invoking: GNU ARM Cross C++ Linker'
  78.     arm-none-eabi-g++ -mcpu=cortex-m7 -mthumb -mfloat-abi=soft -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-move-loop-invariants -Wall -Wextra  -g3 -T mem.ld -T libs.ld -T sections.ld -nostartfiles -Xlinker --gc-sections -L"../ldscripts" -Wl,-Map,"F767ZI_OV5640.map" --specs=nano.specs -o "F767ZI_OV5640.elf" $(OBJS) $(USER_OBJS) $(LIBS)
  79.     @echo 'Finished building target: $@'
  80.     @echo ' '
  81.  
  82. F767ZI_OV5640.hex: F767ZI_OV5640.elf
  83.     @echo 'Invoking: GNU ARM Cross Create Flash Image'
  84.     arm-none-eabi-objcopy -O ihex "F767ZI_OV5640.elf"  "F767ZI_OV5640.hex"
  85.     @echo 'Finished building: $@'
  86.     @echo ' '
  87.  
  88. F767ZI_OV5640.siz: F767ZI_OV5640.elf
  89.     @echo 'Invoking: GNU ARM Cross Print Size'
  90.     arm-none-eabi-size --format=berkeley "F767ZI_OV5640.elf"
  91.     @echo 'Finished building: $@'
  92.     @echo ' '
  93.  
  94. # Other Targets
  95. clean:
  96.     -$(RM) $(CC_DEPS)$(C++_DEPS)$(OBJS)$(C_UPPER_DEPS)$(CXX_DEPS)$(SECONDARY_FLASH)$(SECONDARY_SIZE)$(ASM_DEPS)$(S_UPPER_DEPS)$(C_DEPS)$(CPP_DEPS) F767ZI_OV5640.elf
  97.     -@echo ' '
  98.  
  99. secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_SIZE)
  100.  
  101. .PHONY: all clean dependents
  102.  
  103. -include ../makefile.targets
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement