diff options
author | yenatch <yenatch@gmail.com> | 2013-10-10 03:24:02 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2013-11-20 06:35:10 -0500 |
commit | f6706ecb0908ac5a11ba12672299fea8266ee26b (patch) | |
tree | e2e23b6ba558050e803ddaa8e9dc15f9a4a5a27e | |
parent | 34aac15db084e7649bf347b66e85afca95a46e0a (diff) |
finally compile multiple objects
pokecrystal.asm doesnt really make sense now so its gone
add includes.asm so objects have a standard include set
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | includes.asm (renamed from pokecrystal.asm) | 3 | ||||
-rw-r--r-- | main.asm | 3 | ||||
-rw-r--r-- | wram.asm | 3 |
4 files changed, 7 insertions, 4 deletions
@@ -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') diff --git a/pokecrystal.asm b/includes.asm index 495b02178..ce581fd02 100644 --- a/pokecrystal.asm +++ b/includes.asm @@ -1,5 +1,2 @@ INCLUDE "globals.asm" - INCLUDE "constants.asm" -INCLUDE "wram.asm" -INCLUDE "main.asm" @@ -1,3 +1,6 @@ +INCLUDE "includes.asm" + + SECTION "bank0",ROM0 INCLUDE "rst.asm" @@ -1,3 +1,6 @@ +INCLUDE "includes.asm" + + SECTION "tiles0",VRAM[$8000],BANK[0] VTiles0: SECTION "tiles1",VRAM[$8800],BANK[0] |