Commit 5e01197a authored by Mikaël Salson's avatar Mikaël Salson

Makefile: REPORT_PATH: absolute path to the reports.

Relative path is less robust when changing directory.
parent e8d29139
......@@ -10,7 +10,8 @@ LIB=../core/vidjil.a ../lib/lib.a
SHOULD=$(wildcard *.should_get)
SHOULD_LOG=$(SHOULD:.should_get=.log)
SHOULD_VDJ=$(wildcard should-vdj-tests/*.should-vdj.fa)
VALGRIND=valgrind -v --tool=memcheck --leak-check=full --show-reachable=yes --undef-value-errors=yes --track-origins=yes --xml=yes --xml-file=$$(mktemp ../../reports/valgrind.xml.XXXXXX)
REPORTS_PATH := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))/../../reports
VALGRIND=valgrind -v --tool=memcheck --leak-check=full --show-reachable=yes --undef-value-errors=yes --track-origins=yes --xml=yes --xml-file=\"$$(mktemp "$(REPORTS_PATH)/valgrind.xml.XXXXXX")\"
.PHONY: all force clean forcedep
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment