summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2019-02-01 10:37:13 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2019-02-01 10:37:13 +0100
commitb4055e4fc034f1830161a54b970ec19556f48245 (patch)
tree651312bf64445b88533bdf6ba738a8f1b9f9a3df /Makefile
parent7750a8126ded530e3088b6229cd742797b1e7c37 (diff)
Merge m4a files into one, get rid of one asm
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 4b13d59db..6851c8c90 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ MID_BUILDDIR = $(OBJ_DIR)/$(MID_SUBDIR)
ASFLAGS := -mcpu=arm7tdmi
CC1 := tools/agbcc/bin/agbcc$(EXE)
-override CFLAGS += -mthumb-interwork -Wimplicit -Wparentheses -Werror -O2 -fhex-asm
+override CFLAGS += -mthumb-interwork -Wimplicit -Wparentheses -Werror -Os -fhex-asm
CPPFLAGS := -I tools/agbcc/include -I tools/agbcc -iquote include
@@ -130,9 +130,7 @@ $(C_BUILDDIR)/agb_flash.o: CFLAGS := -O -mthumb-interwork
$(C_BUILDDIR)/agb_flash_1m.o: CFLAGS := -O -mthumb-interwork
$(C_BUILDDIR)/agb_flash_mx.o: CFLAGS := -O -mthumb-interwork
-$(C_BUILDDIR)/m4a_2.o: CC1 := tools/agbcc/bin/old_agbcc
-$(C_BUILDDIR)/m4a_3.o: CC1 := tools/agbcc/bin/old_agbcc
-$(C_BUILDDIR)/m4a_4.o: CC1 := tools/agbcc/bin/old_agbcc
+$(C_BUILDDIR)/m4a.o: CC1 := tools/agbcc/bin/old_agbcc
$(C_BUILDDIR)/record_mixing.o: CFLAGS += -ffreestanding