mirror of
https://github.com/mgcaret/of816.git
synced 2024-12-29 17:31:57 +00:00
12 lines
224 B
Bash
Executable File
12 lines
224 B
Bash
Executable File
#!/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
|
|
|