-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
52 lines (40 loc) · 1.1 KB
/
Makefile
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
# This Makefile uses castle-engine build tool for most operations.
# See https://github.com/castle-engine/castle-engine/wiki/Build-Tool .
MODE:=debug
.PHONY: standalone
standalone:
castle-engine --mode=$(MODE) compile $(CASTLE_ENGINE_TOOL_OPTIONS)
.PHONY: clean
clean:
castle-engine clean
.PHONY: win32
win32:
castle-engine --mode=$(MODE) package --os=win32 --cpu=i386
.PHONY: win64
win64:
castle-engine --mode=$(MODE) package --os=win64 --cpu=x86_64
.PHONY: linux32
linux32:
castle-engine --mode=$(MODE) package --os=linux --cpu=i386
.PHONY: linux64
linux64:
castle-engine --mode=$(MODE) package --os=linux --cpu=x86_64
.PHONY: src
src:
castle-engine --mode=$(MODE) package-source
.PHONY: android
android:
castle-engine --mode=$(MODE) package --os=android --cpu=arm --fast
castle-engine install --os=android --cpu=arm
castle-engine run --os=android --cpu=arm
.PHONY: android-release
android-release:
castle-engine clean
$(MAKE) android MODE=release
.PHONY: ios
ios:
castle-engine --mode=$(MODE) package --target=iOS --fast
.PHONY: ios-release
ios-release:
castle-engine clean
$(MAKE) ios MODE=release