aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/larson/Makefile
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-02-02 14:45:21 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-02-02 14:45:21 +0100
commit8c12b0494aa241bb6ddf3779a99d2f5d6ededf73 (patch)
treeb7bcaf69bfc9c8d7933bcaaedc66a907a04c9ca6 /src/benchmarks/larson/Makefile
parent130765de719a3ddc475284e13749d09ff371a8e1 (diff)
downloadallocbench-8c12b0494aa241bb6ddf3779a99d2f5d6ededf73.tar.gz
allocbench-8c12b0494aa241bb6ddf3779a99d2f5d6ededf73.zip
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.
Diffstat (limited to 'src/benchmarks/larson/Makefile')
-rw-r--r--src/benchmarks/larson/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/benchmarks/larson/Makefile b/src/benchmarks/larson/Makefile
index 9ccce9f..0bb9a5b 100644
--- a/src/benchmarks/larson/Makefile
+++ b/src/benchmarks/larson/Makefile
@@ -15,10 +15,11 @@ LDXXFLAGS ?= -pthread -static-libgcc -static-libstdc++
all: $(OBJDIR)/larson
$(OBJDIR)/larson: larson.cc | $(OBJDIR)
+ @echo compiling $@...
$(CXX) $(LDXXFLAGS) $(CXXFLAGS) -o $@ $<
$(OBJDIR):
- mkdir $@
+ mkdir -p $@
clean:
rm -rf $(OBJDIR)