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
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,8 @@ export DEBUGGER = gdb
export TERMPROG = $(ELF)
export FLASHER = true
export VALGRIND ?= valgrind
export CGANNOTATE ?= cg_annotate
export GPROF ?= gprof
# flags:
export CFLAGS += -Wall -Wextra -pedantic -m32
......@@ -80,7 +82,7 @@ term-cachegrind:
term-gprof: term
eval-gprof:
gprof $(ELF) $(shell ls -rt gmon.out* | tail -1)
$(GPROF) $(ELF) $(shell ls -rt gmon.out* | tail -1)
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.
Finish editing this message first!
Please register or to comment