summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCameron Hall <cameronghall@cox.net>2019-08-04 23:24:09 -0500
committerCameron Hall <cameronghall@cox.net>2019-08-04 23:24:09 -0500
commit890edd5103b7dcb08dcaed90dcc181abd395f03b (patch)
tree3b0d55dccfb434f1de09a83069468d3abfbe6538 /Makefile
parenta6e0483749782133d78058c25300f2036cc3a1cc (diff)
import agb_sram library
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 94bfc73..f6b6a80 100755
--- a/Makefile
+++ b/Makefile
@@ -112,6 +112,9 @@ $(C_BUILDDIR)/m4a_2.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)/agb_sram.o: CFLAGS := -mthumb-interwork -Wimplicit -Wparentheses -Werror -O1
+$(C_BUILDDIR)/agb_sram.o: CC1 := tools/agbcc/bin/old_agbcc
+
ifeq ($(NODEP),)
$(C_BUILDDIR)/%.o: c_dep = $(shell $(SCANINC) -I include $(C_SUBDIR)/$*.c)
else