Added flag to Makefile to treat warnings as errors that fail build, and commented out code in game.c to be warning free
This commit is contained in:
@@ -38,7 +38,7 @@ GRAPHICS := graphics
|
||||
#---------------------------------------------------------------------------------
|
||||
ARCH := -mthumb -mthumb-interwork
|
||||
|
||||
CFLAGS := -O3 -Wall \
|
||||
CFLAGS := -O3 -Wall -Werror\
|
||||
-mcpu=arm7tdmi -mtune=arm7tdmi \
|
||||
-ffast-math -fomit-frame-pointer -funroll-loops \
|
||||
$(ARCH)
|
||||
|
||||
Reference in New Issue
Block a user