From 061dc7ec46e7e2dba7b8c3ef6f09d7d383ad692c Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Thu, 9 May 2024 01:50:14 -0400 Subject: examples/*/Makefile, tests/*/Makefile: add BACKEND support, mark clean target as phony --- tests/fuzz/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/fuzz/Makefile') 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 -- cgit v1.2.3