blob: c7e76cf3b1c0f5e5317cac9e052db00faff104aa (
plain)
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
79
80
|
################################################################################
# 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 Drivers/STM32L4xx_HAL_Driver/Src/subdir.mk
-include Core/Startup/subdir.mk
-include Core/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 += \
plinkyblack.elf \
SIZE_OUTPUT += \
default.size.stdout \
OBJDUMP_LIST += \
plinkyblack.list \
OBJCOPY_BIN += \
plinkyblack.bin \
# All Target
all: plinkyblack.elf secondary-outputs
# Tool invocations
plinkyblack.elf: $(OBJS) $(USER_OBJS) STM32L476VGTX_FLASH.ld
arm-none-eabi-gcc -o "plinkyblack.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m4 -T"STM32L476VGTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="plinkyblack.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -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 ' '
plinkyblack.list: $(EXECUTABLES)
arm-none-eabi-objdump -h -S $(EXECUTABLES) > "plinkyblack.list"
@echo 'Finished building: $@'
@echo ' '
plinkyblack.bin: $(EXECUTABLES)
arm-none-eabi-objcopy -O binary $(EXECUTABLES) "plinkyblack.bin"
@echo 'Finished building: $@'
@echo ' '
# Other Targets
clean:
-$(RM) *
-@echo ' '
secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST) $(OBJCOPY_BIN)
.PHONY: all clean dependents
.SECONDARY:
-include ../makefile.targets
#######################################
# Print makefile variables
#######################################
print-%:
@echo VARIABLE=$($*)
|