From patchwork Sun Jun 3 06:43:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2,of,7] fuzz: fix the default make target From: Yuya Nishihara X-Patchwork-Id: 31940 Message-Id: <6ff20cd82ede95c61dac.1528008220@mimosa> To: mercurial-devel@mercurial-scm.org Date: Sun, 03 Jun 2018 15:43:40 +0900 # HG changeset patch # User Yuya Nishihara # Date 1527999109 -32400 # Sun Jun 03 13:11:49 2018 +0900 # Node ID 6ff20cd82ede95c61dac43c18e799ec0a49b6f9c # Parent 04b1b9799d2bf67135d4394476418324e074b408 fuzz: fix the default make target diff --git a/contrib/fuzz/Makefile b/contrib/fuzz/Makefile --- a/contrib/fuzz/Makefile +++ b/contrib/fuzz/Makefile @@ -1,6 +1,8 @@ CC = clang CXX = clang++ +all: bdiff xdiff + fuzzutil.o: fuzzutil.cc fuzzutil.h $(CXX) $(CXXFLAGS) -g -O1 -fsanitize=fuzzer-no-link,address \ -std=c++17 \ @@ -47,8 +49,6 @@ xdiff_fuzzer: xdiff.cc fuzz-xdiffi.o fuz fuzz-xdiffi.o fuzz-xprepare.o fuzz-xutils.o fuzzutil-oss-fuzz.o \ -lFuzzingEngine -o $$OUT/xdiff_fuzzer -all: bdiff xdiff - clean: rm *.o *_fuzzer \ bdiff \