################################################################################
# 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 src/subdir.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C_DEPS)),)
-include $(C_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 
ELFSIZE += \
dhrystone_0.elf.size \

ELFCHECK += \
dhrystone_0.elf.elfcheck \


# All Target
all: dhrystone_0.elf secondary-outputs

# Tool invocations
dhrystone_0.elf: $(OBJS) ../src/lscript.ld $(USER_OBJS)
	@echo Building target: $@
	@echo Invoking: PowerPC gcc linker
	powerpc-eabi-gcc -Wl,-T -Wl,../src/lscript.ld -L../../dhrystone_bsp_0/ppc440_0/lib -mcpu=440 -o"dhrystone_0.elf" $(OBJS) $(USER_OBJS) $(LIBS)
	@echo Finished building target: $@
	@echo ' '

dhrystone_0.elf.size: dhrystone_0.elf
	@echo Invoking: PowerPC Print Size
	powerpc-eabi-size dhrystone_0.elf  |tee "dhrystone_0.elf.size"
	@echo Finished building: $@
	@echo ' '

dhrystone_0.elf.elfcheck: dhrystone_0.elf
	@echo Invoking: Xilinx ELF Check
	elfcheck dhrystone_0.elf -hw ../../ug757_example_design_files_hw_platform/system.xml -pe ppc440_0  |tee "dhrystone_0.elf.elfcheck"
	@echo Finished building: $@
	@echo ' '

# Other Targets
clean:
	-$(RM) $(OBJS)$(C_DEPS)$(EXECUTABLES)$(ELFSIZE)$(ELFCHECK)$(S_UPPER_DEPS) dhrystone_0.elf
	-@echo ' '

secondary-outputs: $(ELFSIZE) $(ELFCHECK)

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets
