################################################################################
# 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/Startup/subdir.mk
-include SRC/Peripheral/src/subdir.mk
-include SRC/Debug/subdir.mk
-include SRC/Core/subdir.mk
-include Profile/subdir.mk
-include HAL/subdir.mk
-include APP/USB_Host/subdir.mk
-include APP/subdir.mk
-include subdir.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(ASM_UPPER_DEPS)),)
-include $(ASM_UPPER_DEPS)
endif
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
ifneq ($(strip $(S_DEPS)),)
-include $(S_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 
SECONDARY_FLASH += \
USBKB2BLEKB.hex \

SECONDARY_LIST += \
USBKB2BLEKB.lst \

SECONDARY_SIZE += \
USBKB2BLEKB.siz \


# All Target
all: USBKB2BLEKB.elf secondary-outputs

# Tool invocations
USBKB2BLEKB.elf: $(OBJS) $(USER_OBJS)
	@	@	riscv-none-embed-gcc -march=rv32imacxw -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common  -g -T "C:\Users\yanbwang\Desktop\CH32V208\USBKB2BLEKBV004\HAL\Link.ld" -nostartfiles -Xlinker --gc-sections -L"C:\Users\yanbwang\Desktop\CH32V208\USBKB2BLEKBV004\LIB" -Xlinker --print-memory-usage -Wl,-Map,"USBKB2BLEKB.map" --specs=nano.specs --specs=nosys.specs -o "USBKB2BLEKB.elf" $(OBJS) $(USER_OBJS) $(LIBS)
	@	@
USBKB2BLEKB.hex: USBKB2BLEKB.elf
	@	riscv-none-embed-objcopy -O ihex "USBKB2BLEKB.elf"  "USBKB2BLEKB.hex"
	@	@
USBKB2BLEKB.lst: USBKB2BLEKB.elf
	@	riscv-none-embed-objdump --source --all-headers --demangle --line-numbers --wide -M xw "USBKB2BLEKB.elf" > "USBKB2BLEKB.lst"
	@	@
USBKB2BLEKB.siz: USBKB2BLEKB.elf
	@	riscv-none-embed-size --format=berkeley "USBKB2BLEKB.elf"
	@	@
# Other Targets
clean:
	-$(RM) $(ASM_UPPER_DEPS)$(OBJS)$(SECONDARY_FLASH)$(SECONDARY_LIST)$(SECONDARY_SIZE)$(ASM_DEPS)$(S_DEPS)$(S_UPPER_DEPS)$(C_DEPS) USBKB2BLEKB.elf
	-@
secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_LIST) $(SECONDARY_SIZE)

.PHONY: all clean dependents

-include ../makefile.targets
