implemented arena allocator

This commit is contained in:
Lorenzo Torres 2025-11-02 16:48:31 +01:00
parent 1f594fbed7
commit 1dd1049bba
4 changed files with 92 additions and 12 deletions

View file

@ -2,13 +2,18 @@
include config.mk
SRC:=topaz.c linear.c
SRC:=\
topaz.c\
linear.c\
core/arena.c
ifeq (${BACKEND},gl)
SRC += gl/gl.c gl/platform.c
SRC += gl/gl.c\
gl/platform.c
endif
ifeq (${BACKEND},vk)
SRC += vk/platform.c
SRC += vk/platform.c\
vk/renderer.c
endif
OBJ:=${SRC:.c=.o}