jw-pkg/scripts/timed-make-shell.sh
Jan Lindemann 6a40259c3e defs.mk, timed-make-shell.sh: Beautify make benchmark
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-12-27 12:59:55 +00:00

6 lines
142 B
Bash

#!/bin/bash
shift # get rid of the '-c' supplied by make.
log=/tmp/make-cmds.log
/usr/bin/time --format "%E $*" -ao $log /bin/bash -c "$*"