From 8c12b0494aa241bb6ddf3779a99d2f5d6ededf73 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 2 Feb 2019 14:45:21 +0100 Subject: rework build system #2: call make before executing any benchmark Make scans the project directory for Makefiles and executes them. The targets should be build by the new targets/Makefile. All included Makefiles are now "quiet" by default. --- src/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 6b7b704..7173c99 100644 --- a/src/Makefile +++ b/src/Makefile @@ -15,9 +15,11 @@ LDFLAGS ?= -pthread -static-libgcc all: $(OBJDIR)/print_status_on_exit.so $(OBJDIR)/chattymalloc.so $(OBJDIR)/print_status_on_exit.so: print_status_on_exit.c | $(OBJDIR) + @echo "Compiling $@..."; $(CC) $(LDFLAGS) -shared $(CFLAGS) -o $@ $< $(OBJDIR)/chattymalloc.so: chattymalloc.c | $(OBJDIR) + @echo "Compiling $@..."; $(CC) $(LDFLAGS) -shared $(CFLAGS) -o $@ $< $(OBJDIR): -- cgit v1.2.3