summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2021-11-12 12:13:13 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2021-11-12 12:13:13 +0100
commit9396484df6c05886b38fd29bc67b4d247f15015f (patch)
tree23191aa4cccdfb0889ae935f96231be70a0f1bda /Makefile
parentb1e2175ffb7f4b65dffb5480e08c86135c66c109 (diff)
Merge branch 'master' into asset-extraction
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 25947051..e9743138 100644
--- a/Makefile
+++ b/Makefile
@@ -112,8 +112,14 @@ else
NODEP := 1
endif
-#$(C_BUILDDIR)/need_interworking_file_name.o: CFLAGS += -mthumb-interwork
-$(C_BUILDDIR)/arm_proxy.o: CFLAGS += -mthumb-interwork
+interwork := $(C_BUILDDIR)/interrupts.o \
+$(C_BUILDDIR)/collision.o \
+$(C_BUILDDIR)/playerItem.o \
+$(C_BUILDDIR)/object.o \
+$(C_BUILDDIR)/manager.o \
+$(C_BUILDDIR)/npc.o
+
+$(interwork): CFLAGS += -mthumb-interwork
$(C_BUILDDIR)/gba/m4a.o: CFLAGS = -O2 -mthumb-interwork -Wimplicit -Wparentheses -Werror -Wno-multichar
$(C_BUILDDIR)/eeprom.o: CFLAGS = -O1 -mthumb-interwork -Wimplicit -Wparentheses -Werror -Wno-multichar