summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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