aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2023-05-28 09:30:50 +0200
committerBad Diode <bd@badd10de.dev>2023-05-28 09:30:50 +0200
commita3b2141540d74456689ddfaac44c4f83f995c6a7 (patch)
treeca03b5e91907970afcca462ebc18c46f24488e71 /Makefile
parentaf68ac1e1bb77fd821e042d2c8ea9a159c970d20 (diff)
downloadstepper-a3b2141540d74456689ddfaac44c4f83f995c6a7.tar.gz
stepper-a3b2141540d74456689ddfaac44c4f83f995c6a7.zip
Supress some warnings for now
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7eb4b11..90b0a0d 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,8 @@ OBJCOPY := $(DEVKITBIN)/arm-none-eabi-objcopy
37ARCH := -mthumb -mthumb-interwork 37ARCH := -mthumb -mthumb-interwork
38SPECS := -specs=gba.specs 38SPECS := -specs=gba.specs
39CONFIG := 39CONFIG :=
40CFLAGS := -Wall -Wextra -Wdouble-promotion -pedantic -Wno-incompatible-pointer-types -Wconversion -Wno-sign-conversion 40CFLAGS := -Wall -Wextra -pedantic -Wno-incompatible-pointer-types
41# CFLAGS := -Wall -Wextra -Wdouble-promotion -pedantic -Wno-incompatible-pointer-types -Wconversion -Wno-sign-conversion
41CFLAGS += -fno-strict-aliasing 42CFLAGS += -fno-strict-aliasing
42CFLAGS += -mcpu=arm7tdmi -mtune=arm7tdmi $(ARCH) 43CFLAGS += -mcpu=arm7tdmi -mtune=arm7tdmi $(ARCH)
43CFLAGS += $(INC_FLAGS) 44CFLAGS += $(INC_FLAGS)
@@ -45,7 +46,8 @@ CFLAGS += $(CONFIG)
45LDFLAGS := $(ARCH) $(SPECS) 46LDFLAGS := $(ARCH) $(SPECS)
46LDLIBS := $(LIBGBA) 47LDLIBS := $(LIBGBA)
47RELEASE_CFLAGS := -DNDEBUG -O2 48RELEASE_CFLAGS := -DNDEBUG -O2
48DEBUG_CFLAGS := -DDEBUG -O2 -g3 -Wno-unused-parameter -Wno-unused-function 49# DEBUG_CFLAGS := -DDEBUG -O2 -g3 -Wno-unused-parameter -Wno-unused-function
50DEBUG_CFLAGS := -DDEBUG -O2 -g
49 51
50.PHONY: clean run 52.PHONY: clean run
51 53