summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2020-05-29 18:07:21 +0100
committerred031000 <rubenru09@aol.com>2020-05-29 18:07:21 +0100
commit83d33f36fcf46dec8ea99b86563a19885be4bd8e (patch)
treecb87d9fb269db55184b60488b89eaa61f0c1b26d /Makefile
parent77463372468870d20c6751fff4d7708f93fae571 (diff)
add -W all -W error to makefiles
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 020ed45a..ac660c73 100644
--- a/Makefile
+++ b/Makefile
@@ -177,7 +177,7 @@ OBJCOPY := $(CROSS)objcopy
# ./tools/mwccarm/2.0/base/mwasmarm.exe -proc arm5te asm/arm9_thumb.s -o arm9.o
ASFLAGS = -proc arm5te
-CFLAGS = -O4,p -proc arm946e -fp soft -lang c99 -Cpp_exceptions off -ir include -ir include-mw -ir arm9/lib/include
+CFLAGS = -O4,p -proc arm946e -fp soft -lang c99 -Cpp_exceptions off -ir include -ir include-mw -ir arm9/lib/include -W all -W error
LDFLAGS = -map -nodead -w off -proc v5te -interworking -map -symtab -m _start
####################### Other Tools #########################