-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
61 lines (45 loc) · 1.2 KB
/
Makefile
File metadata and controls
61 lines (45 loc) · 1.2 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
# gameforlinux Makefile
.POSIX:
help:
@echo "usage: make [target]"
@echo ""
@echo "targets:"
@echo " install - install all games"
@echo " install-<g> - install specific game"
@echo " uninstall - uninstall all games"
@echo " uninstall-<g> - uninstall specific game"
@echo " build - build all games locally"
@echo " build-<g> - build specific game locally"
@echo " release - cross-compile all games for release (Linux, macOS, BSD)"
@echo " release-<g> - cross-compile specific game for release"
@echo " test - verify installations"
@echo " test-<g> - verify specific game"
@echo " clean - remove build artifacts"
install:
./scripts/install.sh
install-%:
./scripts/install.sh $*
uninstall:
./scripts/uninstall.sh
uninstall-%:
./scripts/uninstall.sh $*
build:
./scripts/builds.sh
build-%:
./scripts/builds.sh $*
release:
RELEASE=1 ./scripts/builds.sh
release-%:
RELEASE=1 ./scripts/builds.sh $*
test:
./scripts/test.sh
test-%:
./scripts/test.sh $*
clean:
rm -rf build/ ~/.gameforlinux/
@echo "clean complete."
readme:
./scripts/readme.sh
web:
./scripts/web.sh
.PHONY: help install uninstall build release test clean readme web