################################################################################
# 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 task/subdir.mk
-include _config/subdir.mk
-include KF32Lib/src/subdir.mk
-include KF32Lib/subdir.mk
-include Driver/subdir.mk
-include subdir.mk
-include objects.mk

-include $(C_DEPS)

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 
OBJCOPY_TARGET += \
blinkled.s19 \

OBJDUMP_LIST += \
blinkled.lst \


LD_SRCS =C:/Program\ Files\ (x86)/ChipON\ IDE/KungFu32/ChipONCC32/ccr1_issue/scripting/KF32A156MQV.ld

EXECUTABLES	= blinkled.elf
# All Target
all: blinkled.elf secondary-outputs

# Tool invocations
blinkled.elf: $(OBJS) $(USER_RELS) $(LD_SRCS)
	@echo 'Building target: $@'
#	@echo 'Invoking: ChipON Linker'
	@kf32-ld $(OBJS) $(USER_RELS) $(LIBS) -L"C:/Program Files (x86)/ChipON IDE/KungFu32/ChipONCC32/ccr1_issue/lib" -L"C:\WorkSpace32\blinkled" -lIQmath-R1 -lSeriesDIServices -lmath -lio -lstring -lstdlib -lctype -lcrtv2 -T"C:/Program Files (x86)/ChipON IDE/KungFu32/ChipONCC32/ccr1_issue/scripting/KF32A156MQV.ld" --kf32-autoihex --kf32-arch=kf32r --kf32-nodisassemble --with-checksum-fill=0xFF --gc-sections -o  "blinkled.elf" -Map "blinkled.map"
	@echo 'Finished building target: $@'
#	@echo ' '

blinkled.s19: $(OBJS) $(EXECUTABLES) $(USER_RELS) $(LD_SRCS)
#	@echo 'Invoking: ChipON ObjCopy'
	@kf32-objcopy -O srec "blinkled.elf"   "blinkled.s19"
	@echo 'Finished building: $@'
#	@echo ' '

blinkled.lst: $(OBJS) $(EXECUTABLES) $(USER_RELS) $(LD_SRCS)
#	@echo 'Invoking: ChipON ObjDump'
	@kf32-objdump -S -l --section=.text --section=.data --section=.bss --kf32-arch=kf32r "blinkled.elf"   > "blinkled.lst"
	@echo 'Finished building: $@'
#	@echo ' '

# Other Targets
clean:
	-$(RM)  $(OBJS) $(EXECUTABLES) $(C_DEPS) blinkled.elf '$(basename $(OBJDUMP_LIST)).lst' '$(basename $(OBJCOPY_TARGET)).hex'   '$(basename $(OBJCOPY_TARGET)).bin'  '$(basename $(OBJCOPY_TARGET)).s19' '$(basename $(OBJCOPY_TARGET)).map'
#	-@echo ' '

secondary-outputs: blinkled.lst blinkled.s19

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets
