SummerCart64/sw/n64/build.sh

10 lines
319 B
Bash
Raw Normal View History

#!/bin/bash
2021-08-23 21:40:37 +02:00
#--mount type=bind,src=`realpath "$(pwd)/../libsc64"`,target="/src/libsc64" \
2021-03-11 00:10:32 +01:00
build_in_docker() {
docker run -t \
--mount type=bind,src=`realpath $(pwd)`,target="/src" \
$1 /bin/bash -c "cd /src && make clean && make -f $2 all"
}
2021-02-09 23:58:02 +01:00
2021-08-18 13:54:07 +02:00
build_in_docker "anacierdem/libdragon:6.0.2" "Makefile"