summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-01-31 04:29:44 -0800
committerYamaArashi <shadow962@live.com>2016-01-31 04:29:44 -0800
commit6f1c90830216227a428e60c12da7c8b7a8f01b46 (patch)
tree1200c7e03ccb10df9ea7a82938781813da4d30a2 /Makefile
parent179ebd2dbc75c65b41c9ccd634f356266649d13a (diff)
string_util.c
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7ffc0d5b1..0864d959f 100644
--- a/Makefile
+++ b/Makefile
@@ -65,9 +65,11 @@ $(OBJS): $(CSRCS:src/%.c=genasm/%.s)
# TODO: fix this .syntax hack
genasm/prefix.tmp:
+ mkdir -p genasm
echo -e "\t.syntax divided" >$@
genasm/suffix.tmp:
+ mkdir -p genasm
echo -e "\t.syntax unified" >$@
genasm/%.s: src/%.c genasm/prefix.tmp genasm/suffix.tmp
@@ -82,5 +84,5 @@ genasm/%.s: src/%.c genasm/prefix.tmp genasm/suffix.tmp
# Link objects to produce the ROM.
$(ROM): $(OBJS)
- ./pokeld -T ld_script.txt -T wram_syms.txt -o $(ELF) $(OBJS)
+ ./pokeld -T ld_script.txt -T iwram_syms.txt -T ewram_syms.txt -o $(ELF) $(OBJS)
./pokeobjcopy -O binary $(ELF) $(ROM)