diff contrib/fuzz/Makefile @ 38231:4dd3b6c68f96

fuzz: fix the default make target
author Yuya Nishihara <yuya@tcha.org>
date Sun, 03 Jun 2018 13:11:49 +0900
parents bf901559e647
children 74f89b7a4268
line wrap: on
line diff
--- a/contrib/fuzz/Makefile	Sun Jun 03 13:11:22 2018 +0900
+++ b/contrib/fuzz/Makefile	Sun Jun 03 13:11:49 2018 +0900
@@ -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 @@
 	  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 \