Skip to content
Snippets Groups Projects
Commit dfd0b43c authored by Ludwig Knüpfer's avatar Ludwig Knüpfer
Browse files

add variables for gprof, cg_annotate

parent a62559de
Branches
No related tags found
No related merge requests found
...@@ -18,6 +18,8 @@ export DEBUGGER = gdb ...@@ -18,6 +18,8 @@ export DEBUGGER = gdb
export TERMPROG = $(ELF) export TERMPROG = $(ELF)
export FLASHER = true export FLASHER = true
export VALGRIND ?= valgrind export VALGRIND ?= valgrind
export CGANNOTATE ?= cg_annotate
export GPROF ?= gprof
# flags: # flags:
export CFLAGS += -Wall -Wextra -pedantic -m32 export CFLAGS += -Wall -Wextra -pedantic -m32
...@@ -80,7 +82,7 @@ term-cachegrind: ...@@ -80,7 +82,7 @@ term-cachegrind:
term-gprof: term term-gprof: term
eval-gprof: eval-gprof:
gprof $(ELF) $(shell ls -rt gmon.out* | tail -1) $(GPROF) $(ELF) $(shell ls -rt gmon.out* | tail -1)
eval-cachegrind: eval-cachegrind:
cg_annotate $(shell ls -rt cachegrind.out* | tail -1) $(CGANNOTATE) $(shell ls -rt cachegrind.out* | tail -1)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment