From cb79bac50ca1da1f0f02455bd0e564578ab9ef05 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 24 Aug 2018 22:00:03 +0200 Subject: intruduce new way of handling analyse and cleanup mysql chattymalloc writes now to chattymalloc.data --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fa40390..1f5cebf 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,12 @@ MAKEFILE_LIST = Makefile TARGETS = $(OBJPRE:.o=) -all: $(TARGETS) $(OBJDIR)/chattymalloc.so +all: $(TARGETS) $(OBJDIR)/chattymalloc.so $(OBJDIR)/print_status_on_exit.so + +$(OBJDIR)/print_status_on_exit.so: print_status_on_exit.c $(MAKEFILE_LIST) + @echo "cc $@" + @if test \( ! \( -d $(@D) \) \) ;then mkdir -p $(@D);fi + $(VERBOSE) $(CC) -shared $(CFLAGS) -o $@ $< -ldl $(OBJDIR)/chattymalloc.so: chattymalloc.c $(MAKEFILE_LIST) @echo "cc $@" -- cgit v1.2.3