openblt/Target/Demo/ARMCM3_STM32_Olimex_STM32P1.../.metadata/.plugins/org.eclipse.core.resources/.history/15/403939ace71c00111565e8bbe12...

82 lines
2.2 KiB
Plaintext

################################################################################
# Automatically-generated file. Do not edit!
################################################################################
-include ../makefile.init
RM := cs-rm -rf
# All of the sources participating in the build are defined here
-include sources.mk
-include lib/stdperiphlib/STM32F10x_StdPeriph_Driver/src/subdir.mk
-include lib/stdperiphlib/CMSIS/CM3/DeviceSupport/ST/STM32F10x/subdir.mk
-include lib/stdperiphlib/CMSIS/CM3/CoreSupport/subdir.mk
-include subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
endif
-include ../makefile.defs
# Add inputs and outputs from these tool invocations to the build variables
SECONDARY_FLASH += \
Prog.hex \
SECONDARY_LIST += \
Prog.lst \
SECONDARY_SIZE += \
Prog.siz \
# All Target
all: Prog.elf secondary-outputs
# Tool invocations
Prog.elf: $(OBJS) $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: ARM Sourcery Windows GCC C Linker'
arm-none-eabi-gcc -T"memory.x" -nostartfiles -Xlinker --gc-sections -Wl,-Map,Prog.map -mcpu=cortex-m3 -mthumb -g3 -gdwarf-2 -o "Prog.elf" $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
Prog.hex: Prog.elf
@echo 'Invoking: ARM Sourcery Windows GNU Create Flash Image'
arm-none-eabi-objcopy -O srec Prog.elf "Prog.hex"
@echo 'Finished building: $@'
@echo ' '
Prog.lst: Prog.elf
@echo 'Invoking: ARM Sourcery Windows GNU Create Listing'
arm-none-eabi-objdump -h -S Prog.elf > "Prog.lst"
@echo 'Finished building: $@'
@echo ' '
Prog.siz: Prog.elf
@echo 'Invoking: ARM Sourcery Windows GNU Print Size'
arm-none-eabi-size --format=berkeley Prog.elf
@echo 'Finished building: $@'
@echo ' '
# Other Targets
clean:
-$(RM) $(SECONDARY_SIZE)$(OBJS)$(C_DEPS)$(ASM_DEPS)$(SECONDARY_FLASH)$(EXECUTABLES)$(SECONDARY_LIST)$(S_UPPER_DEPS) Prog.elf
-@echo ' '
secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_LIST) $(SECONDARY_SIZE)
.PHONY: all clean dependents
.SECONDARY:
-include ../makefile.targets