[Add] make sp option in makefile.
This commit is contained in:
		
							parent
							
								
									2c01d53b9d
								
							
						
					
					
						commit
						eb49ebe6f2
					
				
							
								
								
									
										6
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
									
									
									
									
								
							@ -8,7 +8,7 @@ CLIENT_EXE := $(BUILD_DIR)/client/bettolac
 | 
			
		||||
# Server path.
 | 
			
		||||
SERVER_EXE := $(BUILD_DIR)/server/bettolas
 | 
			
		||||
 | 
			
		||||
.PHONY: all build config runc runs clean
 | 
			
		||||
.PHONY: all build config runc sp runs clean
 | 
			
		||||
 | 
			
		||||
# Default target when running 'make'.
 | 
			
		||||
all: build
 | 
			
		||||
@ -25,6 +25,10 @@ runc: build
 | 
			
		||||
	@echo "=== Running Bettola Client. ==="
 | 
			
		||||
	@$(CLIENT_EXE)
 | 
			
		||||
 | 
			
		||||
sp: build
 | 
			
		||||
	@echo "=== Running Bettola Client (Single Player). ==="
 | 
			
		||||
	@$(CLIENT_EXE) -sp
 | 
			
		||||
 | 
			
		||||
runs: build
 | 
			
		||||
	@echo "=== Running Bettola Server. ==="
 | 
			
		||||
	@$(SERVER_EXE)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user