From a3b2141540d74456689ddfaac44c4f83f995c6a7 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Sun, 28 May 2023 09:30:50 +0200 Subject: Supress some warnings for now --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7eb4b11..90b0a0d 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,8 @@ OBJCOPY := $(DEVKITBIN)/arm-none-eabi-objcopy ARCH := -mthumb -mthumb-interwork SPECS := -specs=gba.specs CONFIG := -CFLAGS := -Wall -Wextra -Wdouble-promotion -pedantic -Wno-incompatible-pointer-types -Wconversion -Wno-sign-conversion +CFLAGS := -Wall -Wextra -pedantic -Wno-incompatible-pointer-types +# CFLAGS := -Wall -Wextra -Wdouble-promotion -pedantic -Wno-incompatible-pointer-types -Wconversion -Wno-sign-conversion CFLAGS += -fno-strict-aliasing CFLAGS += -mcpu=arm7tdmi -mtune=arm7tdmi $(ARCH) CFLAGS += $(INC_FLAGS) @@ -45,7 +46,8 @@ CFLAGS += $(CONFIG) LDFLAGS := $(ARCH) $(SPECS) LDLIBS := $(LIBGBA) RELEASE_CFLAGS := -DNDEBUG -O2 -DEBUG_CFLAGS := -DDEBUG -O2 -g3 -Wno-unused-parameter -Wno-unused-function +# DEBUG_CFLAGS := -DDEBUG -O2 -g3 -Wno-unused-parameter -Wno-unused-function +DEBUG_CFLAGS := -DDEBUG -O2 -g .PHONY: clean run -- cgit v1.2.1