1 # SPDX-License-Identifier: 0BSD
3 FUZZ_TARGET_SRCS
= $(wildcard *.c
)
4 FUZZ_TARGET_BINS
= $(FUZZ_TARGET_SRCS
:.c
=)
6 all: $(FUZZ_TARGET_BINS
)
9 $(CC
) $(CFLAGS
) -c
$< -I ..
/..
/src
/liblzma
/api
/ ;
10 $(CXX
) $(CXXFLAGS
) $(LIB_FUZZING_ENGINE
) $(<:.c
=.o
) -o
$(OUT
)/$@ \
11 ..
/..
/src
/liblzma
/.libs
/liblzma.a
;
13 # The generated binaries are not removed, just the object files. The
14 # binaries are created to the $(OUT) directory and must be removed by the