################################################################################
# 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
endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 
ELFEXECUTABLES += \
default.elf \


# All Target
all: IO_expander.hex secondary-outputs

# Tool invocations
IO_expander.hex: $(RELS) $(USER_RELS)
	@echo 'Building target: $@'
	@echo 'Invoking: SDCC Linker'
	sdcc --debug --noinduction --nooverlay --no-peep  -o"IO_expander.hex" $(RELS) $(USER_RELS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo ' '

default.elf: $(EXECUTABLES)
	@echo 'Invoking: CodeSourcery OMF2ELF Converter'
	c8051-elf-omf2elf -c -i .
	@echo 'Finished building: $@'
	@echo ' '

# Other Targets
clean:
	-$(RM) $(EXECUTABLES)$(C_DEPS)$(ELFEXECUTABLES)$(RELS) IO_expander.hex
	-@echo ' '

secondary-outputs: $(ELFEXECUTABLES)

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets
