diff options
author | Bad Diode <bd@badd10de.dev> | 2023-05-28 09:30:50 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2023-05-28 09:30:50 +0200 |
commit | a3b2141540d74456689ddfaac44c4f83f995c6a7 (patch) | |
tree | ca03b5e91907970afcca462ebc18c46f24488e71 /Makefile | |
parent | af68ac1e1bb77fd821e042d2c8ea9a159c970d20 (diff) | |
download | stepper-a3b2141540d74456689ddfaac44c4f83f995c6a7.tar.gz stepper-a3b2141540d74456689ddfaac44c4f83f995c6a7.zip |
Supress some warnings for now
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -37,7 +37,8 @@ OBJCOPY := $(DEVKITBIN)/arm-none-eabi-objcopy | |||
37 | ARCH := -mthumb -mthumb-interwork | 37 | ARCH := -mthumb -mthumb-interwork |
38 | SPECS := -specs=gba.specs | 38 | SPECS := -specs=gba.specs |
39 | CONFIG := | 39 | CONFIG := |
40 | CFLAGS := -Wall -Wextra -Wdouble-promotion -pedantic -Wno-incompatible-pointer-types -Wconversion -Wno-sign-conversion | 40 | CFLAGS := -Wall -Wextra -pedantic -Wno-incompatible-pointer-types |
41 | # CFLAGS := -Wall -Wextra -Wdouble-promotion -pedantic -Wno-incompatible-pointer-types -Wconversion -Wno-sign-conversion | ||
41 | CFLAGS += -fno-strict-aliasing | 42 | CFLAGS += -fno-strict-aliasing |
42 | CFLAGS += -mcpu=arm7tdmi -mtune=arm7tdmi $(ARCH) | 43 | CFLAGS += -mcpu=arm7tdmi -mtune=arm7tdmi $(ARCH) |
43 | CFLAGS += $(INC_FLAGS) | 44 | CFLAGS += $(INC_FLAGS) |
@@ -45,7 +46,8 @@ CFLAGS += $(CONFIG) | |||
45 | LDFLAGS := $(ARCH) $(SPECS) | 46 | LDFLAGS := $(ARCH) $(SPECS) |
46 | LDLIBS := $(LIBGBA) | 47 | LDLIBS := $(LIBGBA) |
47 | RELEASE_CFLAGS := -DNDEBUG -O2 | 48 | RELEASE_CFLAGS := -DNDEBUG -O2 |
48 | DEBUG_CFLAGS := -DDEBUG -O2 -g3 -Wno-unused-parameter -Wno-unused-function | 49 | # DEBUG_CFLAGS := -DDEBUG -O2 -g3 -Wno-unused-parameter -Wno-unused-function |
50 | DEBUG_CFLAGS := -DDEBUG -O2 -g | ||
49 | 51 | ||
50 | .PHONY: clean run | 52 | .PHONY: clean run |
51 | 53 | ||