summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYamaArashi <YamaArashi@users.noreply.github.com>2016-11-01 08:21:13 -0700
committerGitHub <noreply@github.com>2016-11-01 08:21:13 -0700
commit2ec5b0cedd27bd028535fb13dcdb2f8e0efa58da (patch)
tree463d092bd6636fe8102eb19a34f59b8201a0c308 /Makefile
parent74834c0ca0979886b3d63d6454b75de9cbb7f409 (diff)
parent442002dada4183c96b5ec09fcde8486aa5ba29b1 (diff)
Merge pull request #10 from Diegoisawesome/master
Ported libc from pokeruby
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ea76364ed..4189cd33b 100644
--- a/Makefile
+++ b/Makefile
@@ -59,8 +59,7 @@ asm/libmks4agb.o \
asm/libagbbackup.o \
asm/librtc.o \
asm/librfu.o \
-asm/libagbsyscall.o \
-asm/libc.o
+asm/libagbsyscall.o
DATA_ASM_OBJS := data/data2.o data/anim_mon_front_pics.o \
data/graphics.o data/unknown_serial_data.o data/multiboot_berry_glitch_fix.o \
@@ -102,6 +101,9 @@ include graphics_file_rules.mk
%.lz: % ; $(GFX) $< $@
%.rl: % ; $(GFX) $< $@
+src/libc.o: CC1 := tools/agbcc/bin/old_agbcc
+src/libc.o: CFLAGS := -O2
+
src/siirtc.o: CFLAGS := -mthumb-interwork
src/agb_flash.o: CFLAGS := -O -mthumb-interwork