Browse Source

Fix src/ path in Makefile

Benoit Blanchon 6 năm trước cách đây
mục cha
commit
4c4c4688a9
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      extras/fuzzing/Makefile

+ 2 - 2
extras/fuzzing/Makefile

@@ -1,6 +1,6 @@
 # CAUTION: this file is invoked by https://github.com/google/oss-fuzz
 # CAUTION: this file is invoked by https://github.com/google/oss-fuzz
 
 
-CXXFLAGS += -I../src -DARDUINOJSON_DEBUG
+CXXFLAGS += -I../../src -DARDUINOJSON_DEBUG
 
 
 all: \
 all: \
 	$(OUT)/json_fuzzer \
 	$(OUT)/json_fuzzer \
@@ -10,7 +10,7 @@ all: \
 	$(OUT)/msgpack_fuzzer_seed_corpus.zip \
 	$(OUT)/msgpack_fuzzer_seed_corpus.zip \
 	$(OUT)/msgpack_fuzzer.options
 	$(OUT)/msgpack_fuzzer.options
 
 
-$(OUT)/%_fuzzer: %_fuzzer.cpp $(shell find ../src -type f)
+$(OUT)/%_fuzzer: %_fuzzer.cpp $(shell find ../../src -type f)
 	$(CXX) $(CXXFLAGS) $< -o$@ $(LIB_FUZZING_ENGINE)
 	$(CXX) $(CXXFLAGS) $< -o$@ $(LIB_FUZZING_ENGINE)
 
 
 $(OUT)/%_fuzzer_seed_corpus.zip: %_seed_corpus/*
 $(OUT)/%_fuzzer_seed_corpus.zip: %_seed_corpus/*