summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-04-28 19:30:20 +0200
committerBad Diode <bd@badd10de.dev>2021-04-28 19:30:20 +0200
commit3e0bb6c9d1f788b51d26ed55acd32291df721129 (patch)
tree654ef0692811128bff1dc1bd62aefcc38d4293f5 /Makefile
parentd576a07fbafb48449474651d384e37d34c111cbd (diff)
downloadgba-experiments-3e0bb6c9d1f788b51d26ed55acd32291df721129.tar.gz
gba-experiments-3e0bb6c9d1f788b51d26ed55acd32291df721129.zip
Add support for IRQ handlingirq-demo
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7202bb9..741cbfd 100644
--- a/Makefile
+++ b/Makefile
@@ -30,13 +30,13 @@ CC := arm-none-eabi-gcc
30OBJCOPY := arm-none-eabi-objcopy 30OBJCOPY := arm-none-eabi-objcopy
31ARCH := -mthumb -mthumb-interwork 31ARCH := -mthumb -mthumb-interwork
32SPECS := -specs=gba.specs 32SPECS := -specs=gba.specs
33CFLAGS := -g -Wall -Wextra -pedantic -fno-strict-aliasing -Wno-incompatible-pointer-types 33CFLAGS := -Wall -Wextra -pedantic -fno-strict-aliasing -Wno-incompatible-pointer-types
34CFLAGS += -mcpu=arm7tdmi -mtune=arm7tdmi $(ARCH) 34CFLAGS += -mcpu=arm7tdmi -mtune=arm7tdmi $(ARCH)
35CFLAGS += -I$(LIBGBA_SRC) 35CFLAGS += -I$(LIBGBA_SRC)
36LDFLAGS := $(ARCH) $(SPECS) 36LDFLAGS := $(ARCH) $(SPECS)
37LDLIBS := $(LIBGBA) 37LDLIBS := $(LIBGBA)
38RELEASE_CFLAGS := -DNDEBUG -O2 38RELEASE_CFLAGS := -DNDEBUG -O2 -g
39DEBUG_CFLAGS := -DDEBUG -O2 39DEBUG_CFLAGS := -DDEBUG -O2 -g
40 40
41.PHONY: clean run 41.PHONY: clean run
42 42