1 ################################################################################ 2 # Automatically-generated file. Do not edit! 3 # Toolchain: GNU Tools for STM32 (12.3.rel1) 4 ################################################################################ 5 6 -include ../makefile.init 7 8 RM := rm -rf 9 10 # All of the sources participating in the build are defined here 11 -include sources.mk 12 -include app/src/subdir.mk 13 -include Drivers/STM32F1xx_HAL_Driver/Src/subdir.mk 14 -include Core/Startup/subdir.mk 15 -include Core/Src/subdir.mk 16 -include objects.mk 17 18 ifneq ($(MAKECMDGOALS),clean) 19 ifneq ($(strip $(S_DEPS)),) 20 -include $(S_DEPS) 21 endif 22 ifneq ($(strip $(S_UPPER_DEPS)),) 23 -include $(S_UPPER_DEPS) 24 endif 25 ifneq ($(strip $(C_DEPS)),) 26 -include $(C_DEPS) 27 endif 28 endif 29 30 -include ../makefile.defs 31 32 OPTIONAL_TOOL_DEPS := \ 33 $(wildcard ../makefile.defs) \ 34 $(wildcard ../makefile.init) \ 35 $(wildcard ../makefile.targets) \ 36 37 38 BUILD_ARTIFACT_NAME := tdse-tp4-adc_pwm 39 BUILD_ARTIFACT_EXTENSION := elf 40 BUILD_ARTIFACT_PREFIX := 41 BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),) 42 43 # Add inputs and outputs from these tool invocations to the build variables 44 EXECUTABLES += \ 45 tdse-tp4-adc_pwm.elf \ 46 47 MAP_FILES += \ 48 tdse-tp4-adc_pwm.map \ 49 50 SIZE_OUTPUT += \ 51 default.size.stdout \ 52 53 OBJDUMP_LIST += \ 54 tdse-tp4-adc_pwm.list \ 55 56 57 # All Target 58 all: main-build 59 60 # Main-build Target 61 main-build: tdse-tp4-adc_pwm.elf secondary-outputs 62 63 # Tool invocations 64 tdse-tp4-adc_pwm.elf tdse-tp4-adc_pwm.map: $(OBJS) $(USER_OBJS) C:\Users\gerar\STM32CubeIDE\workspace_1.17.0\tdse-tp4-adc_pwm\STM32F103RBTX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS) 65 arm-none-eabi-gcc -o "tdse-tp4-adc_pwm.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m3 -T"C:\Users\gerar\STM32CubeIDE\workspace_1.17.0\tdse-tp4-adc_pwm\STM32F103RBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="tdse-tp4-adc_pwm.map" -Wl,--gc-sections -static -specs=rdimon.specs --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group 66 @echo 'Finished building target: $@' 67 @echo ' ' 68 69 default.size.stdout: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS) 70 arm-none-eabi-size $(EXECUTABLES) 71 @echo 'Finished building: $@' 72 @echo ' ' 73 74 tdse-tp4-adc_pwm.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS) 75 arm-none-eabi-objdump -h -S $(EXECUTABLES) > "tdse-tp4-adc_pwm.list" 76 @echo 'Finished building: $@' 77 @echo ' ' 78 79 # Other Targets 80 clean: 81 -$(RM) default.size.stdout tdse-tp4-adc_pwm.elf tdse-tp4-adc_pwm.list tdse-tp4-adc_pwm.map 82 -@echo ' ' 83 84 secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST) 85 86 fail-specified-linker-script-missing: 87 @echo 'Error: Cannot find the specified linker script. Check the linker settings in the build configuration.' 88 @exit 2 89 90 warn-no-linker-script-specified: 91 @echo 'Warning: No linker script specified. Check the linker settings in the build configuration.' 92 93 .PHONY: all clean dependents main-build fail-specified-linker-script-missing warn-no-linker-script-specified 94 95 -include ../makefile.targets
