1
0
mirror of https://github.com/mgcaret/of816.git synced 2024-11-01 01:07:10 +00:00
of816/build.sh

12 lines
224 B
Bash
Raw Normal View History

2019-07-01 17:33:44 +00:00
#!/bin/bash
cd `dirname ${0}`
PLATFORM=""
if [ -n "${1}" -a -d "platforms/${1}" ]; then
PLATFORM="${1}"
fi
export PLATFORM
echo ".define PLATFORM \"${PLATFORM}\"" > platform.inc
set -e -x
ca65 -I inc forth.s -l forth.lst