summaryrefslogtreecommitdiff
path: root/arm9/Makefile
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-05-05 21:59:23 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-05-05 21:59:23 -0400
commitcd5559a2093c2be1167eba2f2ef38eedb32a8a1d (patch)
treea49a2bd46c6bf288290adaf13d61d0cfba9951b4 /arm9/Makefile
parent3c458e8b4893866639734a572a7d8e5ce6c7c1ce (diff)
Decompile FS_file.c
Diffstat (limited to 'arm9/Makefile')
-rw-r--r--arm9/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arm9/Makefile b/arm9/Makefile
index aa41512d..bef45759 100644
--- a/arm9/Makefile
+++ b/arm9/Makefile
@@ -91,7 +91,7 @@ OBJCOPY := $(CROSS)objcopy
# ./tools/mwccarm/2.0/base/mwasmarm.exe -proc arm5te asm/arm9_thumb.s -o arm9.o
ASFLAGS = -proc arm5te -i ..
-CFLAGS = -O4,p -proc arm946e -fp soft -lang c99 -Cpp_exceptions off -ir ../include -ir ../include-mw -ir lib/include -interworking
+CFLAGS = -O4,p -proc arm946e -fp soft -lang c99 -Cpp_exceptions off -ir ../include -ir ../include-mw -ir lib/include -interworking -DFS_IMPLEMENT
LDFLAGS = -map -nodead -w off -proc v5te -interworking -map -symtab -m _start
####################### Other Tools #########################
@@ -150,6 +150,7 @@ ALL_DIRS := $(BUILD_DIR) $(addprefix $(BUILD_DIR)/,$(SRC_DIRS) $(ASM_DIRS))
# TODO: Move out to lib/Makefile
build/lib/src/%.o: MWCCVERSION = 1.2/sp2p3
+build/lib/src/%.o: CFLAGS += -enum int
build/src/FUN_020910A4.o: MWCCVERSION = 1.2/sp2p3
####################### Everything Else ######################