From 388f3dfd269368b26990f86d12ea6ab1c4b7c4e6 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 30 Jun 2020 16:09:23 -0400 Subject: add optional macros to directly provide the interface --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.1