This repository has been archived on 2024-01-23. You can view files and clone it, but cannot push or open issues or pull requests.
Jason A. Donenfeld cde6f312e4 fuzz: find bugs in the config syntax parser
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-12-27 18:33:55 +01:00

17 lines
336 B
Makefile

# SPDX-License-Identifier: GPL-2.0
#
# Copyright (C) 2018-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
all: config
CFLAGS ?= -O3 -march=native -g
CFLAGS += -fsanitize=fuzzer -std=gnu11 -idirafter ../uapi
config: config.c ../config.c ../encoding.c
clang $(CFLAGS) -o $@ $<
clean:
rm -f config
.PHONY: all clean