X-Git-Url: https://git.llucax.com/software/dgc/dgcbench.git/blobdiff_plain/688f2efa838b0dbc5b9dd592a9cea0ba2058e9f5..37dd82c0a3363318958cd62cfdad2c73cc56338a:/micro/Makefile diff --git a/micro/Makefile b/micro/Makefile index e48a2e2..ddbbac7 100644 --- a/micro/Makefile +++ b/micro/Makefile @@ -72,9 +72,8 @@ $(STAT_DIR)/%.c.csv $(STAT_DIR)/%.a.csv: $(BIN_DIR)/% $(STAT_DIR)/split.c.csv $(STAT_DIR)/split.a.csv: override args := bible.txt .PRECIOUS: $(STAT_DIR)/%.h.csv -$(STAT_DIR)/%.h.csv: $(STAT_DIR)/%.a.csv - $(P_AWK) awk -F, 'BEGIN { print "Size,Count" } NR > 1 { a[$$3]++ } \ - END { for (i in a) print i "," a[i] }' $< | sort > $@ +$(STAT_DIR)/%.h.csv: $(STAT_DIR)/%.a.csv hist.awk + $(P_AWK) awk -F, -f $(lastword $^) $< > $@ .PHONY: plot plot: $(graphs)