aboutsummaryrefslogtreecommitdiff
path: root/tests/fuzz
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2024-05-09 01:50:14 -0400
committerPaul Duncan <pabs@pablotron.org>2024-05-09 01:50:14 -0400
commit061dc7ec46e7e2dba7b8c3ef6f09d7d383ad692c (patch)
treeb0edd14c90026ad4df158538a3b6b7b2e9df41ee /tests/fuzz
parent8363e3c6a128f02a4b8fa2edf877c0fe26629a46 (diff)
downloadsha3-061dc7ec46e7e2dba7b8c3ef6f09d7d383ad692c.tar.bz2
sha3-061dc7ec46e7e2dba7b8c3ef6f09d7d383ad692c.zip
examples/*/Makefile, tests/*/Makefile: add BACKEND support, mark clean target as phonyv0.8
Diffstat (limited to 'tests/fuzz')
-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