-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·28 lines (26 loc) · 784 Bytes
/
build.sh
File metadata and controls
executable file
·28 lines (26 loc) · 784 Bytes
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
#!/bin/sh
## build script for JSRF-like engine for available platforms. By quantumde1.
case "$1" in
"dreamcast")
## lets try to source default kos toolchain placement
source /opt/toolchains/dc/kos/environ.sh
## if working, go next, otherwise idk
make -f makefiles/dreamcastMakefile
mkdcdisc -e jsrf.elf -o JSRF.cdi -d assets
;;
"desktop")
## going without anything, lmao
gmake -f makefiles/desktopMakefile
;;
"windows")
## going without anything, lmao
make -f makefiles/windowsMakefile
;;
"clean")
make -f makefiles/desktopMakefile clean
;;
*)
echo "Unknown or empty second argument: $1
available commands is $0 {dreamcast,desktop}"
;;
esac