Skip to content

Commit 77f005d

Browse files
committed
Update basic makefile
1 parent c7846a4 commit 77f005d

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

templates/basic/makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# Main configuration – customize these variables
1212
# ──────────────────────────────────────────────────────────────────────────────
1313

14-
APP_NAME ?= MyProject
14+
APP_NAME ?= ProjectName
1515
SRC_EXT ?= cpp
1616
LANGUAGE ?= c++23
1717
CXX ?= g++
@@ -120,7 +120,7 @@ release: all
120120
.PHONY: clean-banner run clean help
121121

122122
clean-banner:
123-
@clear 2>/dev/null || cls
123+
@if [ -t 1 ]; then clear; fi
124124

125125
run: release
126126
@$(BIN_DIR)/$(APP_NAME)
@@ -131,9 +131,9 @@ clean:
131131

132132
help:
133133
@echo "Available targets:"
134-
@echo " make [all] Build (default)"
135-
@echo " make debug Build with debug symbols"
136-
@echo " make release Build optimized"
137-
@echo " make run Build release + execute"
138-
@echo " make clean Remove build artifacts"
139-
@echo " make help Show this help"
134+
@echo " make [all] - Build (default)"
135+
@echo " make debug - Build with debug symbols"
136+
@echo " make release - Build optimized"
137+
@echo " make run - Build release + execute"
138+
@echo " make clean - Remove build artifacts"
139+
@echo " make help - Show this help"

0 commit comments

Comments
 (0)