You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			34 lines
		
	
	
		
			796 B
		
	
	
	
		
			Makefile
		
	
			
		
		
	
	
			34 lines
		
	
	
		
			796 B
		
	
	
	
		
			Makefile
		
	
| # Common include Makefile
 | |
| 
 | |
| # Hide commands
 | |
| VERBOSE = @
 | |
| # Prefix for toolchain binaries
 | |
| PREFIX ?=
 | |
| # Project name
 | |
| PROJECT ?= "MPStuBS"
 | |
| 
 | |
| help::
 | |
| 	@$(echo) "\n" \
 | |
| 		"\e[1mMAKEFILE for the teaching operating system $(PROJECT)\e[0m\n" \
 | |
| 		"--------------------------------------------------\n\n" \
 | |
| 		"Executing '\e[4mmake\e[0m' will compile the operating system from source.\n"
 | |
| 
 | |
| # Get current directory path
 | |
| CURRENT_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
 | |
| 
 | |
| # Include Makefile scripts
 | |
| include $(CURRENT_DIR)/build.mk
 | |
| include $(CURRENT_DIR)/qemu.mk
 | |
| include $(CURRENT_DIR)/image.mk
 | |
| include $(CURRENT_DIR)/linter.mk
 | |
| include $(CURRENT_DIR)/remote.mk
 | |
| 
 | |
| # Disable buitlin rules
 | |
| MAKEFLAGS += --no-builtin-rules
 | |
| 
 | |
| # Disable buitlin rules
 | |
| MAKEFLAGS += --no-print-directory
 | |
| 
 | |
| # Disable buitlin suffixes
 | |
| .SUFFIXES:
 |