CMake: Add empty lines
[xz/debian.git] / tests / ossfuzz / Makefile
blob742e06361aab29aa0c6cb5f67e4118bdc94c564e
1 # SPDX-License-Identifier: 0BSD
3 FUZZ_TARGET_SRCS = $(wildcard *.c)
4 FUZZ_TARGET_BINS = $(FUZZ_TARGET_SRCS:.c=)
6 all: $(FUZZ_TARGET_BINS)
8 %: %.c
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
15 # fuzzing framework.
16 clean:
17 rm -f *.o