diff options
author | Bad Diode <bd@badd10de.dev> | 2021-04-28 19:30:20 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-04-28 19:30:20 +0200 |
commit | 3e0bb6c9d1f788b51d26ed55acd32291df721129 (patch) | |
tree | 654ef0692811128bff1dc1bd62aefcc38d4293f5 /Makefile | |
parent | d576a07fbafb48449474651d384e37d34c111cbd (diff) | |
download | gba-experiments-3e0bb6c9d1f788b51d26ed55acd32291df721129.tar.gz gba-experiments-3e0bb6c9d1f788b51d26ed55acd32291df721129.zip |
Add support for IRQ handlingirq-demo
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -30,13 +30,13 @@ CC := arm-none-eabi-gcc | |||
30 | OBJCOPY := arm-none-eabi-objcopy | 30 | OBJCOPY := arm-none-eabi-objcopy |
31 | ARCH := -mthumb -mthumb-interwork | 31 | ARCH := -mthumb -mthumb-interwork |
32 | SPECS := -specs=gba.specs | 32 | SPECS := -specs=gba.specs |
33 | CFLAGS := -g -Wall -Wextra -pedantic -fno-strict-aliasing -Wno-incompatible-pointer-types | 33 | CFLAGS := -Wall -Wextra -pedantic -fno-strict-aliasing -Wno-incompatible-pointer-types |
34 | CFLAGS += -mcpu=arm7tdmi -mtune=arm7tdmi $(ARCH) | 34 | CFLAGS += -mcpu=arm7tdmi -mtune=arm7tdmi $(ARCH) |
35 | CFLAGS += -I$(LIBGBA_SRC) | 35 | CFLAGS += -I$(LIBGBA_SRC) |
36 | LDFLAGS := $(ARCH) $(SPECS) | 36 | LDFLAGS := $(ARCH) $(SPECS) |
37 | LDLIBS := $(LIBGBA) | 37 | LDLIBS := $(LIBGBA) |
38 | RELEASE_CFLAGS := -DNDEBUG -O2 | 38 | RELEASE_CFLAGS := -DNDEBUG -O2 -g |
39 | DEBUG_CFLAGS := -DDEBUG -O2 | 39 | DEBUG_CFLAGS := -DDEBUG -O2 -g |
40 | 40 | ||
41 | .PHONY: clean run | 41 | .PHONY: clean run |
42 | 42 | ||