summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-04-21 23:58:32 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2017-04-24 23:17:47 +0200
commit5b499bf4a05ae7db3390cd7e6f08228488aea10c (patch)
treebc8bfd907d114230793053b053b8a1a55e086a82 /tools/Makefile
parentd976d2ec7874fec5385f361c72dc4f8d523368ba (diff)
Make tools/target_dec_*_fuzzer buildable with configure and make
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 49f55d2a9e..2b9432bcc2 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -1,6 +1,16 @@
TOOLS = qt-faststart trasher uncoded_frame
TOOLS-$(CONFIG_ZLIB) += cws2fws
+tools/target_dec_video_%_fuzzer.o: tools/target_dec_fuzzer.c
+ $(COMPILE_C) -DFFMPEG_CODEC=AV_CODEC_ID_$* -DFUZZ_FFMPEG_VIDEO
+
+tools/target_dec_audio_%_fuzzer.o: tools/target_dec_fuzzer.c
+ $(COMPILE_C) -DFFMPEG_CODEC=AV_CODEC_ID_$* -DFUZZ_FFMPEG_AUDIO
+
+tools/target_dec_subtitle_%_fuzzer.o: tools/target_dec_fuzzer.c
+ $(COMPILE_C) -DFFMPEG_CODEC=AV_CODEC_ID_$* -DFUZZ_FFMPEG_SUBTITLE
+
+
OBJDIRS += tools
clean::