aboutsummaryrefslogtreecommitdiff
path: root/tests/fuzz/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fuzz/Makefile')
-rw-r--r--tests/fuzz/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/fuzz/Makefile b/tests/fuzz/Makefile
index 9c305a8..0558ac9 100644
--- a/tests/fuzz/Makefile
+++ b/tests/fuzz/Makefile
@@ -1,4 +1,7 @@
-CFLAGS=-g -fsanitize=address,fuzzer -W -Wall -Wextra -Werror -pedantic -std=c11
+# backend (0 to auto-detect)
+BACKEND ?= 0
+
+CFLAGS=-g -fsanitize=address,fuzzer -W -Wall -Wextra -Werror -pedantic -std=c11 -DBACKEND=$(BACKEND)
APP=./fuzz-shake128
OBJS=sha3.o fuzz.o
CC=clang