mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
run.mk: Add target tee
This commit is contained in:
parent
3613815001
commit
3a5fb6472e
1 changed files with 8 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ start: all
|
|||
rm -f $(CORE)
|
||||
$(EXE_PATH) $(EXE_ARGS) &
|
||||
|
||||
clean: vg-clean-supp
|
||||
clean: vg-clean-supp clean.out
|
||||
|
||||
# unfortunately iwatch only supports one directory :-(
|
||||
autorun:
|
||||
|
|
@ -84,6 +84,9 @@ vg-add-supp:
|
|||
vg-clean-supp:
|
||||
rm -f local.supp
|
||||
|
||||
clean.out:
|
||||
rm -f run.out
|
||||
|
||||
callgrind:
|
||||
rm -f $(CORE)
|
||||
valgrind --tool=callgrind $(VALGRIND_OPTS) $(EXE_PATH) $(EXE_ARGS)
|
||||
|
|
@ -101,6 +104,10 @@ abort:
|
|||
strace: $(EXE_PATH) $(EXE_BIN)
|
||||
strace -f $(EXE_PATH) $(EXE_ARGS)
|
||||
|
||||
tee: $(EXE_PATH) $(EXE_BIN) all
|
||||
rm -f $(CORE)
|
||||
$(EXE_PATH) $(EXE_ARGS) 2>&1 | tee run.out
|
||||
|
||||
kcg:
|
||||
kcachegrind callgrind.*
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue