diff options
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 | ||