aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2013-09-10 20:04:54 -0700
committerdannye <corrnondacqb@yahoo.com>2013-09-10 20:04:54 -0700
commitd256be1b09179f375e0515871970a90349242955 (patch)
tree544a8ff6bbd7a4b707be48e855c645d0e39a3138 /Makefile
parentMerge branch 'comments' of https://github.com/dannye/pokered (diff)
parentMerge branch kanzure/master into dannye-incbins (diff)
downloadpokeyellow-d256be1b09179f375e0515871970a90349242955.tar.gz
pokeyellow-d256be1b09179f375e0515871970a90349242955.tar.xz
pokeyellow-d256be1b09179f375e0515871970a90349242955.zip
Merge pull request #1 from kanzure/dannye-incbins
Merge so that iimarckus does less work
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 028e9f02..f481743e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,16 @@
.SUFFIXES: .asm .tx .o .gbc
-TEXTFILES = text/oakspeech.tx text/pokedex.tx text/mapRedsHouse1F.tx \
- text/mapBluesHouse.tx text/mapPalletTown.tx
+TEXTFILES := $(shell find ./ -type f -name '*.asm')
all: pokered.gbc
-pokered.o: pokered.asm main.tx constants.asm ${TEXTFILES}
- rgbasm -o pokered.o pokered.asm
+pokered.o: pokered.tx main.tx constants.tx music.tx wram.tx ${TEXTFILES:.asm=.tx}
+ rgbasm -o pokered.o pokered.tx
-pokeblue.o: pokeblue.asm main.tx constants.asm ${TEXTFILES}
- rgbasm -o pokeblue.o pokeblue.asm
+pokeblue.o: pokeblue.tx main.tx constants.tx music.tx wram.tx ${TEXTFILES:.asm=.tx}
+ rgbasm -o pokeblue.o pokeblue.tx
-redrle: extras/redrle.c
+redrle: extras/redtools/redrle.c
${CC} -o $@ $>
.asm.tx:
@@ -28,6 +27,6 @@ pokeblue.gbc: pokeblue.o
cmp blue.gbc $@
clean:
- rm -f main.tx pokered.o pokered.gbc pokeblue.o pokeblue.gbc redrle ${TEXTFILES}
+ rm -f pokered.o pokered.gbc pokeblue.o pokeblue.gbc redrle $(TEXTFILES:.asm=.tx)
more: pokered.gbc pokeblue.gbc