################################################################################ # 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 subdir.mk -include drivers/subdir.mk -include CM3/DeviceSupport/EnergyMicro/EFM32/subdir.mk -include CM3/DeviceSupport/EnergyMicro/EFM32/startup/iar/subdir.mk -include CM3/CoreSupport/subdir.mk -include objects.mk ifneq ($(MAKECMDGOALS),clean) ifneq ($(strip $(C++_DEPS)),) -include $(C++_DEPS) endif ifneq ($(strip $(C_DEPS)),) -include $(C_DEPS) endif ifneq ($(strip $(ASM_DEPS)),) -include $(ASM_DEPS) endif ifneq ($(strip $(CC_DEPS)),) -include $(CC_DEPS) endif ifneq ($(strip $(SH_DEPS)),) -include $(SH_DEPS) endif ifneq ($(strip $(CPP_DEPS)),) -include $(CPP_DEPS) endif ifneq ($(strip $(CXX_DEPS)),) -include $(CXX_DEPS) endif ifneq ($(strip $(C_UPPER_DEPS)),) -include $(C_UPPER_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 EXECUTABLES += \ USER_OBJS \ SECONDARY_FLASH += \ ARMEMF32.hex \ SECONDARY_LIST += \ ARMEMF32.lst \ SECONDARY_SIZE += \ ARMEMF32.siz \ # All Target all: ARMEMF32.elf # Tool invocations @echo 'No tool found that can build the extension specified with the build artifact name $@' USER_OBJS: $(OBJS) $(USER_OBJS) @echo 'Invoking: ARM Linux GCC C++ Linker' arm-elf-g++ -Wl,-Map,ARMEMF32.map -mcpu=cortex-m3 -mthumb -o"USER_OBJS" $(OBJS) $(USER_OBJS) $(LIBS) @echo 'Finished building: $@' @echo ' ' ARMEMF32.hex: ARMEMF32.elf @echo 'Invoking: ARM Linux GNU Create Flash Image' arm-elf-objcopy -O ihex ARMEMF32.elf "ARMEMF32.hex" @echo 'Finished building: $@' @echo ' ' ARMEMF32.lst: ARMEMF32.elf @echo 'Invoking: ARM Linux GNU Create Listing' arm-elf-objdump -h -S ARMEMF32.elf >"ARMEMF32.lst" @echo 'Finished building: $@' @echo ' ' ARMEMF32.siz: ARMEMF32.elf @echo 'Invoking: ARM Linux GNU Print Size' arm-elf-size --format=berkeley ARMEMF32.elf @echo 'Finished building: $@' @echo ' ' # Other Targets clean: -$(RM) $(OBJS)$(C_DEPS)$(SH_DEPS)$(SECONDARY_FLASH)$(CXX_DEPS)$(S_UPPER_DEPS)$(SECONDARY_LIST)$(SECONDARY_SIZE)$(C++_DEPS)$(ASM_DEPS)$(CC_DEPS)$(CPP_DEPS)$(EXECUTABLES)$(C_UPPER_DEPS) ARMEMF32.elf -@echo ' ' .PHONY: all clean dependents .SECONDARY: -include ../makefile.targets