diff --git a/makefile b/makefile index b1e505c..d2e1605 100644 --- a/makefile +++ b/makefile @@ -13,7 +13,7 @@ include common.mk CXXFLAGS += `sdl2-config --cflags` -DVERSION=$(VERSION) -DREVISION=$(REVISION) -DDATA_DIR=\"$(DATA_DIR)\" -DLOCALE_DIR=\"$(LOCALE_DIR)\" CXXFLAGS += -ansi -pedantic -CXXFLAGS += -Wall -Wempty-body -Werror -Wstrict-prototypes -Werror=maybe-uninitialized +CXXFLAGS += -Wall -Wempty-body -Werror -Wstrict-prototypes -Werror=maybe-uninitialized -Warray-bounds CXXFLAGS += -g -lefence LFLAGS := `sdl2-config --libs` -lSDL2_mixer -lSDL2_image -lSDL2_ttf -lm diff --git a/makefile.win32 b/makefile.win32 index b70a058..49b1185 100644 --- a/makefile.win32 +++ b/makefile.win32 @@ -8,8 +8,7 @@ SEARCHPATH += src/plat/win32 OBJS += win32Init.o CXXFLAGS += `$(SDLC) --cflags` -DVERSION=$(VERSION) -DREVISION=$(REVISION) -DDATA_DIR=\"$(DATA_DIR)\" -DLOCALE_DIR=\"$(LOCALE_DIR)\" -CXXFLAGS += -Wall -ansi -pedantic -Werror -Wstrict-prototypes -CXXFLAGS += -g -lefence +CXXFLAGS += -ansi LFLAGS = `$(SDLC) --libs` -lm -lSDL2_mixer -lSDL2_image -lSDL2_ttf -lSDL2main