SummerCart64/sw/bootloader/build.sh
Polprzewodnikowy 87fddd912e nice
2021-08-23 21:40:37 +02:00

10 lines
319 B
Bash
Executable File

#!/bin/bash
#--mount type=bind,src=`realpath "$(pwd)/../libsc64"`,target="/src/libsc64" \
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"
}
build_in_docker "anacierdem/libdragon:6.0.2" "Makefile"