X-Git-Url: https://git.llucax.com/software/dgc/dgcbench.git/blobdiff_plain/5b0d31198806563101200a3b5d435b1ddd6c2dbd..688f2efa838b0dbc5b9dd592a9cea0ba2058e9f5:/micro/Makefile?ds=sidebyside diff --git a/micro/Makefile b/micro/Makefile index ce310b0..e48a2e2 100644 --- a/micro/Makefile +++ b/micro/Makefile @@ -29,7 +29,7 @@ P_DC = @echo ' DC $@'; P_LD = @echo ' LD $@'; P_PLOT = @echo ' PLOT $@'; P_MAKE = @echo ' MAKE $@'; -P_RUN = @echo ' RUN $<'; +P_RUN = @echo ' RUN $< $(arg1) $(arg2) $(arg3)'; P_AWK = @echo ' AWK $@'; endif @@ -64,10 +64,12 @@ stat: $(stat) .PRECIOUS: $(STAT_DIR)/%.c.csv $(STAT_DIR)/%.a.csv $(STAT_DIR)/%.c.csv $(STAT_DIR)/%.a.csv: $(BIN_DIR)/% - $(P_RUN) ./$< + $(P_RUN) ./$< $(args) $P mv gc-collections.csv $(STAT_DIR)/$*.c.csv $P mv gc-mallocs.csv $(STAT_DIR)/$*.a.csv +# special command line arguments for benchmarks +$(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