ref: f6706ecb0908ac5a11ba12672299fea8266ee26b
parent: 34aac15db084e7649bf347b66e85afca95a46e0a
author: yenatch <yenatch@gmail.com>
date: Wed Oct 9 23:24:02 EDT 2013
finally compile multiple objects pokecrystal.asm doesnt really make sense now so its gone add includes.asm so objects have a standard include set
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
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')
--- /dev/null
+++ b/includes.asm
@@ -1,0 +1,2 @@
+INCLUDE "globals.asm"
+INCLUDE "constants.asm"
--- a/main.asm
+++ b/main.asm
@@ -1,3 +1,6 @@
+INCLUDE "includes.asm"
+
+
SECTION "bank0",ROM0
INCLUDE "rst.asm"
--- a/pokecrystal.asm
+++ /dev/null
@@ -1,5 +1,0 @@
-INCLUDE "globals.asm"
-
-INCLUDE "constants.asm"
-INCLUDE "wram.asm"
-INCLUDE "main.asm"
--- a/wram.asm
+++ b/wram.asm
@@ -1,3 +1,6 @@
+INCLUDE "includes.asm"
+
+
SECTION "tiles0",VRAM[$8000],BANK[0]
VTiles0:
SECTION "tiles1",VRAM[$8800],BANK[0]
--
⑨