]> git.llucax.com Git - software/dgc/dgcbench.git/blobdiff - micro/Makefile
micro: Plot allocation statistics (time, space and histogram)
[software/dgc/dgcbench.git] / micro / Makefile
index 8529d82cd93ae8f98d1d3169ac919baaccb2745e..48b730868b0cdba86a3a243155080532d8649bb9 100644 (file)
@@ -82,9 +82,12 @@ plot: $(graphs)
 $(PLOT_DIR)/%.tics: $(STAT_DIR)/%.h.csv tics.awk
        $(P_AWK) awk -F, -f $(lastword $^) $< > $@
 
-$(PLOT_DIR)/%.c.eps: $(STAT_DIR)/%.c.csv plot-c.gpi
+$(PLOT_DIR)/%.c.eps: $(STAT_DIR)/%.c.csv $(STAT_DIR)/%.a.csv \
+                       $(STAT_DIR)/%.h.csv $(PLOT_DIR)/%.tics plot-c.gpi
        $(P_PLOT) sed "s|@@PRG@@|$(*F)|g; s|@@COL@@|$(VERS)|g; \
-                       s|@@IN@@|$<|g; s|@@OUT@@|$@|g" $(lastword $^) \
+                       s|@@INC@@|$(word 1,$^)|g; s|@@INA@@|$(word 2,$^)|g; \
+                       s|@@INH@@|$(word 3,$^)|g; s|@@OUT@@|$@|g; \
+                       s|@@TICS@@|$(shell cat $(word 4,$^))|g" $(word 5,$^) \
                | $(GNUPLOT)
 
 .PHONY: clean