1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
354 B

#!/usr/bin/env bash
CODE_DIR=code
BUILD_DIR=build
TEMP_DIR=$BUILD_DIR/temp
GAME_NAME=8bit
mkdir -p $TEMP_DIR
rgbasm -Weverything -E -i $CODE_DIR -o $TEMP_DIR/$GAME_NAME.obj $CODE_DIR/main.asm
rgblink -n $BUILD_DIR/$GAME_NAME.sym -m $BUILD_DIR/$GAME_NAME.map -o $BUILD_DIR/$GAME_NAME.gb $TEMP_DIR/$GAME_NAME.obj
rgbfix -v -p0 $BUILD_DIR/$GAME_NAME.gb