################################################################################
# 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 07_AppPrg/subdir.mk
-include 05_UserBoard/subdir.mk
-include 04_GEC/subdir.mk
-include 03_MCU/startup/subdir.mk
-include 03_MCU/MCU_drivers/subdir.mk
-include 02_CPU/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 += \
USBHD_Device_KeyBoard.hex \

SECONDARY_LIST += \
USBHD_Device_KeyBoard.lst \

SECONDARY_SIZE += \
USBHD_Device_KeyBoard.siz \


# All Target
all: USBHD_Device_KeyBoard.elf secondary-outputs

# Tool invocations
USBHD_Device_KeyBoard.elf: $(OBJS) $(USER_OBJS)
	@	@	riscv-none-embed-gcc -march=rv32imac -mabi=ilp32 -msmall-data-limit=8 -mno-save-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wunused -Wuninitialized  -g -T "C:\Users\10573\Desktop\AHL-CH32V307-20220127\04-Software - \CH11-20220115\USBHS_Device\USBHD_Device_KeyBoard\03_MCU\Linker_file\CH32V307.ld" -nostartfiles -Xlinker --gc-sections -L"C:\Users\10573\Desktop\AHL-CH32V307-20220127\04-Software - \CH11-20220115\USBHS_Device\USBHD_Device_KeyBoard\03_MCU\Linker_file" -Wl,-Map,"USBHD_Device_KeyBoard.map" --specs=nano.specs --specs=nosys.specs -lm -o "USBHD_Device_KeyBoard.elf" $(OBJS) $(USER_OBJS) $(LIBS)
	@	@
USBHD_Device_KeyBoard.hex: USBHD_Device_KeyBoard.elf
	@	riscv-none-embed-objcopy -O ihex "USBHD_Device_KeyBoard.elf"  "USBHD_Device_KeyBoard.hex"
	@	@
USBHD_Device_KeyBoard.lst: USBHD_Device_KeyBoard.elf
	@	riscv-none-embed-objdump --all-headers --demangle --disassemble "USBHD_Device_KeyBoard.elf" > "USBHD_Device_KeyBoard.lst"
	@	@
USBHD_Device_KeyBoard.siz: USBHD_Device_KeyBoard.elf
	@	riscv-none-embed-size --format=berkeley "USBHD_Device_KeyBoard.elf"
	@	@
# Other Targets
clean:
	-$(RM) $(ASM_UPPER_DEPS)$(OBJS)$(SECONDARY_FLASH)$(SECONDARY_LIST)$(SECONDARY_SIZE)$(ASM_DEPS)$(S_DEPS)$(S_UPPER_DEPS)$(C_DEPS) USBHD_Device_KeyBoard.elf
	-@
secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_LIST) $(SECONDARY_SIZE)

.PHONY: all clean dependents

-include ../makefile.targets
