################################################################################
# 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 src/subdir.mk
-include 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 += \
many_core_node_demo.elf.size \

ELFCHECK += \
many_core_node_demo.elf.elfcheck \


# All Target
all: many_core_node_demo.elf secondary-outputs

# Tool invocations
many_core_node_demo.elf: $(OBJS) ../src/lscript.ld $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: MicroBlaze gcc linker'
	mb-gcc -Wl,-T -Wl,../src/lscript.ld -L../../many_core_node_test_bsp/mcs_node/lib -mlittle-endian -mcpu=v8.40.a -mxl-soft-mul -Wl,--no-relax -Wl,--gc-sections -o "many_core_node_demo.elf" $(OBJS) $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo ' '

many_core_node_demo.elf.size: many_core_node_demo.elf
	@echo 'Invoking: MicroBlaze Print Size'
	mb-size many_core_node_demo.elf  |tee "many_core_node_demo.elf.size"
	@echo 'Finished building: $@'
	@echo ' '

many_core_node_demo.elf.elfcheck: many_core_node_demo.elf
	@echo 'Invoking: Xilinx ELF Check'
	elfcheck many_core_node_demo.elf -hw ../../node_hw/system.xml -pe mcs_node  |tee "many_core_node_demo.elf.elfcheck"
	@echo 'Finished building: $@'
	@echo ' '

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

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

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets
