Patchwork [2,of,7] fuzz: fix the default make target

login
register
mail settings
Submitter Yuya Nishihara
Date June 3, 2018, 6:43 a.m.
Message ID <6ff20cd82ede95c61dac.1528008220@mimosa>
Download mbox | patch
Permalink /patch/31940/
State Accepted
Headers show

Comments

Yuya Nishihara - June 3, 2018, 6:43 a.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1527999109 -32400
#      Sun Jun 03 13:11:49 2018 +0900
# Node ID 6ff20cd82ede95c61dac43c18e799ec0a49b6f9c
# Parent  04b1b9799d2bf67135d4394476418324e074b408
fuzz: fix the default make target

Patch

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 \