-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmakefile
More file actions
78 lines (59 loc) · 2.18 KB
/
Copy pathmakefile
File metadata and controls
78 lines (59 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
-include ../makefile.init
RM := rm -rf
# All of the sources participating in the build are defined here
-include sources.mk
-include Startup/subdir.mk
-include Src/Util/subdir.mk
-include Src/Scripts/Routines/subdir.mk
-include Src/Scripts/Prefebs/subdir.mk
-include Src/OverAllEnv/subdir.mk
-include Src/GameFrame/subdir.mk
-include Src/subdir.mk
-include Drivers/STM32F1xx_HAL_Driver/Src/subdir.mk
-include subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
endif
-include ../makefile.defs
# Add inputs and outputs from these tool invocations to the build variables
EXECUTABLES += \
LCD_Module.elf \
SIZE_OUTPUT += \
default.size.stdout \
OBJDUMP_LIST += \
LCD_Module.list \
# All Target
all:
+@make --no-print-directory main-build && make --no-print-directory post-build
# Main-build Target
main-build: LCD_Module.elf secondary-outputs
# Tool invocations
LCD_Module.elf: $(OBJS) $(USER_OBJS) D:\worksoftware\STM32CubeIDE_1.0.2\newworkplace\SUSTech-Embedded_System-Project\STM32F103RCTX_FLASH.ld
arm-none-eabi-gcc -o "LCD_Module.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m3 -T"D:\worksoftware\STM32CubeIDE_1.0.2\newworkplace\SUSTech-Embedded_System-Project\STM32F103RCTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="LCD_Module.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -u _printf_float -Wl,--start-group -lc -lm -Wl,--end-group
@echo 'Finished building target: $@'
@echo ' '
default.size.stdout: $(EXECUTABLES)
arm-none-eabi-size $(EXECUTABLES)
@echo 'Finished building: $@'
@echo ' '
LCD_Module.list: $(EXECUTABLES)
arm-none-eabi-objdump -h -S $(EXECUTABLES) > "LCD_Module.list"
@echo 'Finished building: $@'
@echo ' '
# Other Targets
clean:
-$(RM) *
-@echo ' '
post-build:
arm-none-eabi-objcopy "LCD_Module.elf" -O ihex "LCD_Module.hex"
-@echo ' '
secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST)
.PHONY: all clean dependents
.SECONDARY: post-build
-include ../makefile.targets