Browse Source

Add scheme namespace definition to valgrind target

master
Joost Rijneveld 5 years ago
parent
commit
0597db225a
No known key found for this signature in database GPG Key ID: A4FE39CF49CBC553
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      Makefile

+ 1
- 0
Makefile View File

@@ -37,6 +37,7 @@ run-valgrind: bin/functest_$(subst /,_,$(SCHEME))
bin/sanitizer_$(subst /,_,$(SCHEME)): test/$(dir $(SCHEME))functest.c $(wildcard $(SCHEME)/clean/*.c) $(wildcard $(SCHEME)/clean/*.h) | require_scheme
mkdir -p bin
$(CC) $(CFLAGS) -fsanitize=address \
-DPQCLEAN_NAMESPACE=$(shell echo PQCLEAN_$(subst -,,$(notdir $(SCHEME))) | tr a-z A-Z) \
-iquote "./common/" \
-iquote "$(SCHEME)/clean/" \
-o bin/sanitizer_$(subst /,_,$(SCHEME)) \


Loading…
Cancel
Save