aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-02-27 10:31:39 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-02-27 10:31:39 +0100
commit7de95ddd662b52c803d307b6028fd90a1aa71892 (patch)
tree2bd2a03b20dfe5510cdb74c5b362e6b7f5d9dd13 /Makefile
parent29b8c1556bf456596c6c067d413b65b51e17724e (diff)
downloadmalloc-7de95ddd662b52c803d307b6028fd90a1aa71892.tar.gz
malloc-7de95ddd662b52c803d307b6028fd90a1aa71892.zip
Add zone allocation, internal data structures, and README
Implement mmap-based zone allocation for TINY (<=128B) and SMALL (<=1024B) categories. malloc now creates zones on demand and returns a pointer to the first chunk.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fd8fe46..2935da6 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ LIBFT = $(LIBFT_DIR)/lib/libft.a
NAME = $(LIBDIR)/libft_malloc_$(HOSTTYPE).so
LINK = $(LIBDIR)/libft_malloc.so
-SRCS = malloc.c free.c realloc.c
+SRCS = malloc.c free.c realloc.c zone.c
OBJS = $(SRCS:%.c=$(OBJDIR)/%.o)