67 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			67 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
################################################################################
 | 
						|
# 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 libwrap/sys/subdir.mk
 | 
						|
-include libwrap/stdlib/subdir.mk
 | 
						|
-include libwrap/misc/subdir.mk
 | 
						|
-include env/iss/subdir.mk
 | 
						|
-include env/freedom-e300-hifive1/subdir.mk
 | 
						|
-include env/freedom-e300-arty/subdir.mk
 | 
						|
-include env/subdir.mk
 | 
						|
-include drivers/plic/subdir.mk
 | 
						|
-include drivers/fe300prci/subdir.mk
 | 
						|
-include subdir.mk
 | 
						|
-include objects.mk
 | 
						|
 | 
						|
ifneq ($(MAKECMDGOALS),clean)
 | 
						|
ifneq ($(strip $(CC_DEPS)),)
 | 
						|
-include $(CC_DEPS)
 | 
						|
endif
 | 
						|
ifneq ($(strip $(C++_DEPS)),)
 | 
						|
-include $(C++_DEPS)
 | 
						|
endif
 | 
						|
ifneq ($(strip $(C_UPPER_DEPS)),)
 | 
						|
-include $(C_UPPER_DEPS)
 | 
						|
endif
 | 
						|
ifneq ($(strip $(CXX_DEPS)),)
 | 
						|
-include $(CXX_DEPS)
 | 
						|
endif
 | 
						|
ifneq ($(strip $(C_DEPS)),)
 | 
						|
-include $(C_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 
 | 
						|
 | 
						|
# All Target
 | 
						|
all: bsp
 | 
						|
 | 
						|
# Tool invocations
 | 
						|
bsp: $(OBJS) $(USER_OBJS)
 | 
						|
	@echo 'Building target: $@'
 | 
						|
	@echo 'Invoking: Cross G++ Linker'
 | 
						|
	riscv32-unknown-elf-g++  -o "bsp" $(OBJS) $(USER_OBJS) $(LIBS)
 | 
						|
	@echo 'Finished building target: $@'
 | 
						|
	@echo ' '
 | 
						|
 | 
						|
# Other Targets
 | 
						|
clean:
 | 
						|
	-$(RM) $(CC_DEPS)$(C++_DEPS)$(EXECUTABLES)$(OBJS)$(C_UPPER_DEPS)$(CXX_DEPS)$(C_DEPS)$(CPP_DEPS) bsp
 | 
						|
	-@echo ' '
 | 
						|
 | 
						|
.PHONY: all clean dependents
 | 
						|
 | 
						|
-include ../makefile.targets
 |