---
 libavcodec/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 4eed81ed03..734ab14596 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -1371,3 +1371,10 @@ $(SUBDIR)pcm.o: $(SUBDIR)pcm_tables.h
 $(SUBDIR)qdm2.o: $(SUBDIR)qdm2_tables.h
 $(SUBDIR)sinewin.o: $(SUBDIR)sinewin_tables.h
 endif
+
+clean::
+       $(RM) $(CLEANSUFFIXES:%=libavcodec/vulkan/%)
+VULKAN = $(subst $(SRC_PATH)/,,$(wildcard 
$(SRC_PATH)/libavcodec/vulkan/*.comp))
+.SECONDARY: $(VULKAN:.comp=.c)
+libavcodec/vulkan/%.c: $(SRC_PATH)/libavcodec/vulkan/%.comp
+       $(M)$(SRC_PATH)/tools/source2c $< $@
\ No newline at end of file
-- 
2.46.2

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to