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

-include ../makefile.init

RM := rm -rf *.sni *.dbg *.lst *.lis *.lpp *.map *.x *.lbp src/*.src src/*.p src/*.pp *.bls *.libelf *.lbk *.abs *.fsy

# All of the sources participating in the build are defined here
-include sources.mk
-include src/subdir.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 $(CP_DEPS)),)
-include $(CP_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 $(ASM_UPPER_DEPS)),)
-include $(ASM_UPPER_DEPS)
endif
ifneq ($(strip $(CP_UPPER_DEPS)),)
-include $(CP_UPPER_DEPS)
endif
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(OBJ_DEPS)),)
-include $(OBJ_DEPS)
endif
ifneq ($(strip $(ABS_DEPS)),)
-include $(ABS_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 $(O_DEPS)),)
-include $(O_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
endif

ifneq ($(strip $(SRC_UPPER_SRCS)),)
ALL_ASMS += $(SRC_UPPER_SRCS) 
endif
ifneq ($(strip $(SRC_SRCS)),)
ALL_ASMS += $(SRC_SRCS) 
endif
ifneq ($(strip $(S_UPPER_SRCS)),)
ALL_ASMS += $(S_UPPER_SRCS) 
endif
ifneq ($(strip $(S_SRCS)),)
ALL_ASMS += $(S_SRCS) 
endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 
CONVERTOR_OUTPUT_OUTPUTS += \
YRotateItRX23T_V1.mot \

LINKER_OUTPUT_OUTPUTS += \
YRotateItRX23T_V1.abs \

LIBRARY_GENERATOR_OUTPUTTYPE_OUTPUTS += \
YRotateItRX23T_V1.lib \

OBJS := \
$(COMPILER_OBJS) \
$(ASSEMBLER_OBJS) \
$(CUSTOM_OBJS) \

# All Target
all: YRotateItRX23T_V1.mot
	@echo 'Build complete.'

# Tool invocations
YRotateItRX23T_V1.mot: $(LINKER_OUTPUT_OUTPUTS)
	@echo 'Invoking: Converter'
	rlink   "C:\Workspace\YRotateItRX23T_V1\HardwareDebug\YRotateItRX23T_V1.abs" -form=stype  -output="C:\Workspace\YRotateItRX23T_V1\HardwareDebug\YRotateItRX23T_V1.mot"
	@echo 'Finished building target:'
	@echo.
	$(MAKE) --no-print-directory post-build

YRotateItRX23T_V1.abs: $(OBJS) $(LIBRARY_GENERATOR_OUTPUTTYPE_OUTPUTS) $(ALL_ASMS)   \
C:\WORKSP~1\YRBEFD~1\src\YROTAT~1\YROTAT~1.LIB
	@echo 'Invoking: Linker'
	@echo 'Building target:'
	rlink  -subcommand="LinkerSubCommand.tmp"  -library="C:\WORKSP~1\YRBEFD~1\HARDWA~2\YRotateItRX23T_V1.lib" -library="C:\Workspace\YRotateItRX23T_V1\src\YRotateItRX23T_Library\YRotateItRX23T_LIB_LE_V1.lib" -noprelink -list="YRotateItRX23T_V1.map" -show=all -optimize=speed -debug -output="C:\Workspace\YRotateItRX23T_V1\HardwareDebug\YRotateItRX23T_V1.abs" -rom=D=R,D_1=R_1,D_2=R_2 -nomessage -nologo
	@echo 'Finished building:'
	@echo.

YRotateItRX23T_V1.lib:  
	@echo 'Invoking: Standard Library'
	lbgrx -lang=c99 -head=runtime,mathf,stdlib -goptimize -isa=rxv2 -optimize=max -speed -fpu -output="YRotateItRX23T_V1.lib"
	@echo 'Finished building:'
	@echo.

# Compile phase
$(COMPILER_OBJS): $(C_DEPS)
	@echo 'Invoking: Compiler'
	ccrx -output=obj -obj_path=.  -include="C:\PROGRA~2\Renesas\RX\2_3_0/include","C:\Workspace\YRotateItRX23T_V1\src\YRotateItRX23T_Library"  -debug -goptimize -isa=rxv2 -optimize=max -speed -merge_files -ip_optimize -fpu -alias=noansi -nologo  -define=__RX -subcommand=CompilerSubCommand.tmp
	@echo 'Finished building:'
	@echo.

# Other Targets
clean:
	-$(RM) $(LIBRARY_GENERATOR_OUTPUTTYPE_OUTPUTS) $(CONVERTOR_OUTPUT_OUTPUTS) 
	-rm -rf *.obj *.d *.src *.p *.pp *.prn
	-rm -rf "src"/*.obj "src"/*.d "src"/*.prn
	@echo.
	@echo 'Clean complete.'

post-build:
	@echo.
	-C:\Renesas\E2_STU~1\DEBUGC~1\RX\RX_CON~1.EXE YRotateItRX23T_V1.abs YRotateItRX23T_V1.x
	@echo.

.PHONY: all clean dependents $(LINKER_OUTPUT_OUTPUTS)
.SECONDARY: post-build
.NOTPARALLEL: $(LINKER_OUTPUT_OUTPUTS)

-include ../makefile.targets
