################################################################################
# Automatically-generated file. Do not edit!
################################################################################

-include ../makefile.init

RM := rm -rf *.lst *.lis *.lpp *.map

# All of the sources participating in the build are defined here
-include sources.mk
-include src/subdir.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(CC_UPPER_DEPS)),)
-include $(CC_UPPER_DEPS)
endif
ifneq ($(strip $(C++_UPPER_DEPS)),)
-include $(C++_UPPER_DEPS)
endif
ifneq ($(strip $(CXX_UPPER_DEPS)),)
-include $(CXX_UPPER_DEPS)
endif
ifneq ($(strip $(CPP_UPPER_DEPS)),)
-include $(CPP_UPPER_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
ifneq ($(strip $(SRC_UPPER_DEPS)),)
-include $(SRC_UPPER_DEPS)
endif
ifneq ($(strip $(S_DEPS)),)
-include $(S_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(SRC_DEPS)),)
-include $(SRC_DEPS)
endif
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 
LIBRARY_GENERATOR_OUTPUTTYPE_OUTPUTS += \
libex_3_16_UART_Output.a \

LINKER_OUTPUT_OUTPUTS += \
ex_3_16_UART_Output.x \


# All Target
# Main-build Target
all: ex_3_16_UART_Output.mot
	@echo 'Build complete.'

# Tool invocations
ex_3_16_UART_Output.mot: $(LINKER_OUTPUT_OUTPUTS)
	@echo 'Invoking: Objcopy'
	rl78-elf-objcopy -O srec  $(LINKER_OUTPUT_OUTPUTS)"ex_3_16_UART_Output.mot"
	@echo 'Finished building target:'
	@echo.

libex_3_16_UART_Output.a: 
	@echo 'Invoking: Library Generator'
	rl78-elf-libgen --select-lib=optlib --header-files=all --compiler-options=-Os,-mg13,-ffunction-sections,-fdata-sections,-fno-tree-loop-optimize,-fno-caller-saves,-fno-cse-follow-jumps -o "libex_3_16_UART_Output.a"
	@echo 'Finished building:'
	@echo.

ex_3_16_UART_Output.x: $(OBJS) $(LIBRARY_GENERATOR_OUTPUTTYPE_OUTPUTS) $(ALL_ASMS)
	@echo 'Invoking: Linker'
	@echo 'Building target:'
	rl78-elf-ld -o "ex_3_16_UART_Output.x" -T"C:\Users\C6H6\e2_studio\workspace\ex_3_16_UART_Output\HardwareDebug\ex_3_16_UART_Output_HardwareDebug_auto.gsi" -T"C:\Users\C6H6\e2_studio\workspace\ex_3_16_UART_Output\HardwareDebug\LinkerSubCommand.tmp" $(USER_OBJS) $(LIBS) $(LIBRARY_GENERATOR_OUTPUTTYPE_OUTPUTS) -M=ex_3_16_UART_Output.map -L"C:\Users\C6H6\e2_studio\workspace\ex_3_16_UART_Output\HardwareDebug" -L"C:\PROGRA~2\KPIT\GNURL7~1.01-\rl78-elf/lib/gcc/rl78-elf/4.8-GNURL78_v15.01/g13" --start-group -lex_3_16_UART_Output -lgcc --end-group -e_PowerON_Reset
	@echo 'Finished building:'
	@echo.

# Other Targets
clean:
	-$(RM) $(LINKER_OUTPUT_OUTPUTS)$(LIBRARY_GENERATOR_OUTPUTTYPE_OUTPUTS)$(OBJCOPY_OUTPUTTYPE_OUTPUTS)
	rm -rf ./"src"/*.o ./"src"/*.d  ex_3_16_UART_Output.mot
	@echo.
	@echo 'Clean complete.'

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets
