summaryrefslogtreecommitdiff
path: root/agbx/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'agbx/GNUmakefile')
-rw-r--r--agbx/GNUmakefile64
1 files changed, 34 insertions, 30 deletions
diff --git a/agbx/GNUmakefile b/agbx/GNUmakefile
index f32c914..c2e1ae7 100644
--- a/agbx/GNUmakefile
+++ b/agbx/GNUmakefile
@@ -1,6 +1,6 @@
# Copyright 2022 Gabriel Jensen.
# This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
-# If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
+# If a copy of the MPL was not distributed with this file, You can obtain one at <https://mozilla.org/MPL/2.0>.
# TOOLS
@@ -11,44 +11,48 @@ OBJCOPY := arm-none-eabi-objcopy
# TOOL FLAGS
-CFLAGS := \
- -Iinclude \
- -Iinclude-private \
- -Ofast \
- -Wall \
- -Wextra \
- -Wpedantic \
- -ffreestanding \
- -fno-builtin \
+CFLAGS := \
+ -Iinclude \
+ -Iinclude-private \
+ -Ofast \
+ -Wall \
+ -Wextra \
+ -Wpedantic \
+ -ffreestanding \
+ -fno-builtin \
-fno-strict-aliasing \
- -mcpu=arm7tdmi \
- -mthumb \
- -mtune=arm7tdmi \
- -nostdlib \
+ -fshort-enums \
+ -mcpu=arm7tdmi \
+ -mthumb \
+ -mtune=arm7tdmi \
+ -nostdlib \
-std=c2x
# HEADERS
-HDRS := \
- include/ax/bs.h \
- include/ax/gfx.h \
+HDRS := \
+ include/ax/algo.h \
+ include/ax/bs.h \
+ include/ax/gfx.h \
+ include/ax/key.h \
include-private/ax/priv.h
# BINARIES
-OBJS := \
- source/algo/cp.o \
- source/bs/done.o \
- source/bs/get.o \
- source/bs/set.o \
- source/gfx/clrscrn.o \
- source/gfx/flip.o \
- source/gfx/getpx.o \
- source/gfx/getvbnk.o \
- source/gfx/plot.o \
- source/gfx/rd.o \
- source/gfx/setpx.o \
- source/gfx/vsync.o \
+OBJS := \
+ source/algo/cp.o \
+ source/bs/done.o \
+ source/bs/get.o \
+ source/bs/set.o \
+ source/gfx/clrscrn.o \
+ source/gfx/flip.o \
+ source/gfx/getpx.o \
+ source/gfx/getvbnk.o \
+ source/gfx/plot.o \
+ source/gfx/plottex.o \
+ source/gfx/rd.o \
+ source/gfx/setpx.o \
+ source/gfx/vsync.o \
source/key/getkeymap.o \
source/priv/init.o