finally compile multiple objects

pokecrystal.asm doesnt really make sense now so its gone

add includes.asm so objects have a standard include set
This commit is contained in:
yenatch 2013-10-10 03:24:02 -04:00
parent 34aac15db0
commit f6706ecb09
4 changed files with 7 additions and 4 deletions

View File

@ -6,7 +6,7 @@ PYTHON := python
TEXTFILES := $(shell find ./ -type f -name '*.asm' | grep -v globals.asm)
TEXTQUEUE :=
OBJS := pokecrystal.o
OBJS := wram.o main.o
PNGS := $(shell find gfx/ -type f -name '*.png')
LZS := $(shell find gfx/ -type f -name '*.lz')

View File

@ -1,5 +1,2 @@
INCLUDE "globals.asm"
INCLUDE "constants.asm"
INCLUDE "wram.asm"
INCLUDE "main.asm"

View File

@ -1,3 +1,6 @@
INCLUDE "includes.asm"
SECTION "bank0",ROM0
INCLUDE "rst.asm"

View File

@ -1,3 +1,6 @@
INCLUDE "includes.asm"
SECTION "tiles0",VRAM[$8000],BANK[0]
VTiles0:
SECTION "tiles1",VRAM[$8800],BANK[0]