diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-06-27 01:08:35 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-06-27 01:08:35 +0200 |
| commit | 8676bdeadd162d8e3c1f27cc7ad9f7456496b0ce (patch) | |
| tree | 69ee5b183195e4fb72d60c6fd5e74a5b67d76859 /src/benchmarks/loop/Makefile | |
| parent | 23e77009bb8da35e2285c3a8f5913c192f9e009f (diff) | |
| download | allocbench-loop_keep_allocs.tar.gz allocbench-loop_keep_allocs.zip | |
add draft of loop benchmark with two flavorsloop_keep_allocs
plot_fixed is broken because of the three args
TODO: implement usfull plots for n arg commands.
Diffstat (limited to 'src/benchmarks/loop/Makefile')
| -rw-r--r-- | src/benchmarks/loop/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/benchmarks/loop/Makefile b/src/benchmarks/loop/Makefile index b297933..9bcb247 100644 --- a/src/benchmarks/loop/Makefile +++ b/src/benchmarks/loop/Makefile @@ -12,12 +12,16 @@ LDFLAGS ?= -pthread -static-libgcc .PHONY = all clean -all: $(OBJDIR)/loop +all: $(OBJDIR)/loop $(OBJDIR)/loopKeepAllocs $(OBJDIR)/loop: loop.c | $(OBJDIR) @echo compiling $@... $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $< +$(OBJDIR)/loopKeepAllocs: loop.c | $(OBJDIR) + @echo compiling $@... + $(CC) $(LDFLAGS) -DKEEP_ALLOCS $(CFLAGS) -o $@ $< + $(OBJDIR): mkdir -p $@ |
