aboutsummaryrefslogtreecommitdiff
path: root/tests/fuzz/Makefile
blob: 9c305a8cc70b16aada3b11bfb28c1331415564ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CFLAGS=-g -fsanitize=address,fuzzer -W -Wall -Wextra -Werror -pedantic -std=c11
APP=./fuzz-shake128
OBJS=sha3.o fuzz.o
CC=clang

.PHONY=all clean fuzz

all: $(APP)

# build sample application
$(APP): $(OBJS)
	$(CC) -o $(APP) $(CFLAGS) $(OBJS)

%.o: %.c
	$(CC) -c $(CFLAGS) $<

fuzz: $(APP)
	$(APP)

clean:
	$(RM) -f $(APP) $(OBJS)