summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-06-30 16:09:23 -0400
committerJakob Kaivo <jkk@ung.org>2020-06-30 16:09:23 -0400
commit388f3dfd269368b26990f86d12ea6ab1c4b7c4e6 (patch)
treedc662d2cc8bd2da650bf3554764ab8534c2d1442 /Makefile
parent30779981519a03506e515851a760a1f1f5a98a23 (diff)
add optional macros to directly provide the <stdlib.h> interface
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b31f413..fb4d4b0 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,8 @@ TESTS=$(BINDIR)/overflow \
$(BINDIR)/zero \
$(BINDIR)/realloc \
$(BINDIR)/use-after-free \
- $(BINDIR)/double-free
+ $(BINDIR)/double-free \
+ $(BINDIR)/macros
all: $(LIBDIR)/libmapalloc.a $(LIBDIR)/libwrapalloc.so
@@ -50,6 +51,7 @@ $(BINDIR)/zero: $(TESTDIR)/zero.c
$(BINDIR)/realloc: $(TESTDIR)/realloc.c
$(BINDIR)/use-after-free: $(TESTDIR)/use-after-free.c
$(BINDIR)/double-free: $(TESTDIR)/double-free.c
+$(BINDIR)/macros: $(TESTDIR)/macros.c
$(BINDIR)/wrapper: $(TESTDIR)/wrapper.c
@mkdir -p $(@D)