################################################################################
# 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 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 += \
testyagarto.hex \

SECONDARY_LIST += \
testyagarto.lst \

SECONDARY_SIZE += \
testyagarto.siz \


# All Target
all: testyagarto.elf secondary-outputs

# Tool invocations
testyagarto.elf: $(OBJS) $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: ARM Yagarto Windows GCC C Linker'
	arm-none-eabi-gcc -T"C:\Program Files\Freescale\Freescale MQX 3.8\lib\twrk60n512.gcc\libbsp\intflash.lcf" -nostartfiles -L"C:\Program Files\Freescale\Freescale MQX 3.8\lib\twrk60n512.gcc\libbsp" -L"C:\Program Files\Freescale\Freescale MQX 3.8\lib\twrk60n512.gcc\libpsp" -Wl,-Map,testyagarto.map -mcpu=cortex-m4 -mthumb -g3 -gdwarf-2 -o "testyagarto.elf" $(OBJS) $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo ' '

testyagarto.hex: testyagarto.elf
	@echo 'Invoking: ARM Yagarto Windows GNU Create Flash Image'
	arm-none-eabi-objcopy -O ihex testyagarto.elf  "testyagarto.hex"
	@echo 'Finished building: $@'
	@echo ' '

testyagarto.lst: testyagarto.elf
	@echo 'Invoking: ARM Yagarto Windows GNU Create Listing'
	arm-none-eabi-objdump -h -S testyagarto.elf > "testyagarto.lst"
	@echo 'Finished building: $@'
	@echo ' '

testyagarto.siz: testyagarto.elf
	@echo 'Invoking: ARM Yagarto Windows GNU Print Size'
	arm-none-eabi-size  --format=berkeley testyagarto.elf
	@echo 'Finished building: $@'
	@echo ' '

# Other Targets
clean:
	-$(RM) $(SECONDARY_SIZE)$(OBJS)$(C_DEPS)$(ASM_DEPS)$(SECONDARY_FLASH)$(EXECUTABLES)$(SECONDARY_LIST)$(S_UPPER_DEPS) testyagarto.elf
	-@echo ' '

secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_LIST) $(SECONDARY_SIZE)

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets
