summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2015-02-07 16:56:49 -0800
committerMarcus Huderle <huderlem@gmail.com>2015-02-07 16:56:49 -0800
commitf8751ebc6db6d2d91ad157fd4c7daa5cdd9f936e (patch)
tree2016d9a1656e130ac2e306d6fec275ba9cb85adc /Makefile
parentaee754669c5323a1fbc55b5fa25206e319d3f220 (diff)
First assembly dump. (Just the Start routine.)
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ec4b3fb..dd8488e 100755
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,13 @@
# Build Pokemon Pinball.
outputrom := pokepinball.gbc
-# Header options for rgbfix.
-header_opts = -jsvc -k 01 -l 0x33 -m 0x1e -p 0 -r 02 -t "POKEPINBALLVPHE"
-
# If your default python is 3, you may want to change this to python27.
PYTHON := python
# Link objects together to build a rom.
all: main.o wram.o
- rgblink -n pokepinball.sym -o $(outputrom) main.o wram.o
- rgbfix $($header_opts) pokepinball.gbc
+ rgblink -n pokepinball.sym -m pokepinball.map -o $(outputrom) main.o wram.o
+ rgbfix -jsvc -k 01 -l 0x33 -m 0x1e -p 0 -r 02 -t "POKEPINBALLVPHE" pokepinball.gbc
# Assemble source files into objects.
# Use rgbasm -h to use halts without nops.