-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
69 lines (54 loc) · 1.22 KB
/
Makefile
File metadata and controls
69 lines (54 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# NDS Makefile
# Makefile for quick commands
.PHONY: help build release test install clean format check watch quick doc
# Default target
help:
@echo "NDS Development Makefile"
@echo ""
@echo "Usage: make <target>"
@echo ""
@echo "Targets:"
@echo " build - Debug build"
@echo " release - Release build (optimized)"
@echo " test - Run tests"
@echo " install - Release build and install to system"
@echo " clean - Clean up"
@echo " format - Code formatting"
@echo " check - Lint and format check"
@echo " watch - Watch file changes"
@echo " quick - Quick build & install"
@echo " doc - Generate documentation"
# Development commands
build:
@./scripts/dev.sh build
release:
@./scripts/dev.sh release
test:
@./scripts/dev.sh test
install:
@./scripts/install.sh
clean:
@./scripts/dev.sh clean
format:
@./scripts/dev.sh format
check:
@./scripts/dev.sh check
watch:
@./scripts/dev.sh watch
quick:
@./scripts/dev.sh quick
doc:
@./scripts/dev.sh doc
# Shortcuts
b: build
r: release
t: test
i: install
c: clean
f: format
q: quick
# Combinations
all: format check test release install
@echo "✅ All operations completed!"
ci: format check test
@echo "✅ CI checks successful!"