forked from tursom/Ikemen-wasm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (36 loc) · 780 Bytes
/
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
# Set Bash as the shell.
SHELL=/bin/bash
# /src files
srcFiles=src/anim.go \
src/bgdef.go \
src/bytecode.go \
src/camera.go \
src/char.go \
src/common.go \
src/compiler.go \
src/compiler_functions.go \
src/font.go \
src/image.go \
src/input.go \
src/lifebar.go \
src/main.go \
src/render.go \
src/script.go \
src/sound.go \
src/stage.go \
src/stdout_windows.go \
src/system.go \
src/util_desktop.go \
src/util_js.go
# Windows 64-bit target
Ikemen_GO.exe: ${srcFiles}
cd ./build && bash ./build.sh Win64
# Windows 32-bit target
Ikemen_GO_86.exe: ${srcFiles}
cd ./build && bash ./build.sh Win32
# Linux target
Ikemen_GO_Linux: ${srcFiles}
cd ./build && ./build.sh Linux
# MacOS x64 target
Ikemen_GO_MacOS: ${srcFiles}
cd ./build && bash ./build.sh MacOS