Add memory pool test, fix bugs

This commit is contained in:
Rickey Fehr
2025-10-17 18:01:34 -07:00
parent 16059ab632
commit 138792df48
11 changed files with 171 additions and 25 deletions
+10 -8
View File
@@ -25,13 +25,14 @@ LIBTONC := $(DEVKITPRO)/libtonc
# the makefile is found
#
#---------------------------------------------------------------------------------
TARGET := $(notdir $(CURDIR))
BUILD := build
SOURCES := source
INCLUDES := include
DATA :=
MUSIC := audio
GRAPHICS := graphics
TARGET := $(notdir $(CURDIR))
BUILD := build
SOURCES := source
INCLUDES := include
DATA :=
MUSIC := audio
GRAPHICS := graphics
POOLS_DEF_FILE := \"pools.def\"
#---------------------------------------------------------------------------------
# options for code generation
@@ -42,7 +43,8 @@ GIT_DIRTY := $(shell git diff-index --quiet HEAD -- || echo "-dirty")
GIT_HASH := $(shell git rev-parse --short HEAD || echo "undef")
GIT_C_FLAGS := -DGIT_HASH=\"$(GIT_HASH)\" -DGIT_DIRTY=\"$(GIT_DIRTY)\"
CFLAGS := -g -O3 -Wall -Werror\
CFLAGS := -g -O3 -Wall -Werror \
-DPOOLS_DEF_FILE=$(POOLS_DEF_FILE) \
-mcpu=arm7tdmi -mtune=arm7tdmi \
-ffast-math -fomit-frame-pointer -funroll-loops \
$(ARCH)