[Add] make sp option in makefile.

This commit is contained in:
Ritchie Cunningham 2025-09-27 00:37:15 +01:00
parent 2c01d53b9d
commit eb49ebe6f2

View File

@ -8,7 +8,7 @@ CLIENT_EXE := $(BUILD_DIR)/client/bettolac
# Server path. # Server path.
SERVER_EXE := $(BUILD_DIR)/server/bettolas 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'. # Default target when running 'make'.
all: build all: build
@ -25,6 +25,10 @@ runc: build
@echo "=== Running Bettola Client. ===" @echo "=== Running Bettola Client. ==="
@$(CLIENT_EXE) @$(CLIENT_EXE)
sp: build
@echo "=== Running Bettola Client (Single Player). ==="
@$(CLIENT_EXE) -sp
runs: build runs: build
@echo "=== Running Bettola Server. ===" @echo "=== Running Bettola Server. ==="
@$(SERVER_EXE) @$(SERVER_EXE)