aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-02-27 11:04:07 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-02-27 11:04:07 +0100
commit8849d801b9d3767390e3e1ed6b562db738ac1bcb (patch)
tree9d612726bd6b2ab5bebc536e54d9e5216443cffd /Makefile
parent7de95ddd662b52c803d307b6028fd90a1aa71892 (diff)
downloadmalloc-8849d801b9d3767390e3e1ed6b562db738ac1bcb.tar.gz
malloc-8849d801b9d3767390e3e1ed6b562db738ac1bcb.zip
Add show_alloc_mem and test_show, rename test to test_preload
Implement show_alloc_mem() to print all zones and allocations by ascending address. Add test_show binary that links directly against libft_malloc.so to exercise it.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2935da6..79d9f2d 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 zone.c
+SRCS = malloc.c free.c realloc.c zone.c show_alloc_mem.c
OBJS = $(SRCS:%.c=$(OBJDIR)/%.o)