diff --git a/Makefile b/Makefile index 47bca6c29..bd65ee37f 100644 --- a/Makefile +++ b/Makefile @@ -236,8 +236,8 @@ CXXFLAGS ?= LIB_FUZZING_ENGINE ?= -libfuzzer OUT ?= . -$(OUT)/vm-fuzzer: $(GOFILES) | $(GOFUZZBUILD) - $(GOFUZZBUILD) -libfuzzer -o fuzzer.a ./internal/vm +$(OUT)/vm-fuzzer: $(GOFILES) | $(GOFUZZ) + $(GOFUZZ) -o fuzzer.a github.com/google/mtail/internal/vm $(CXX) $(CXXFLAGS) $(LIB_FUZZING_ENGINE) fuzzer.a -lpthread -o $(OUT)/vm-fuzzer $(OUT)/vm-fuzzer.dict: mgen