diff options
author | Lynne <dev@lynne.ee> | 2024-10-11 09:30:03 +0200 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2024-10-15 17:45:19 +0200 |
commit | 4e861ad8e02c941361e5b1fe4a290155270d23d0 (patch) | |
tree | e1f7d605f935903085031a7d314a4b647c552a70 | |
parent | 3afdfe830f97efde396d2e2b97d561b9e3618f36 (diff) | |
download | ffmpeg-4e861ad8e02c941361e5b1fe4a290155270d23d0.tar.gz |
libavcodec/Makefile: add a makefile for Vulkan shaders
-rw-r--r-- | libavcodec/Makefile | 10 | ||||
-rw-r--r-- | libavcodec/vulkan/Makefile | 10 |
2 files changed, 11 insertions, 9 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 5df4b7cfc3..dd5d0de898 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -70,6 +70,7 @@ include $(SRC_PATH)/libavcodec/aac/Makefile include $(SRC_PATH)/libavcodec/hevc/Makefile include $(SRC_PATH)/libavcodec/opus/Makefile include $(SRC_PATH)/libavcodec/vvc/Makefile +include $(SRC_PATH)/libavcodec/vulkan/Makefile -include $(SRC_PATH)/libavcodec/$(ARCH)/vvc/Makefile OBJS-$(CONFIG_AANDCTTABLES) += aandcttab.o OBJS-$(CONFIG_AC3DSP) += ac3dsp.o ac3.o ac3tab.o @@ -1376,12 +1377,3 @@ $(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: TAG = VULKAN -libavcodec/vulkan/%.c: $(SRC_PATH)/libavcodec/vulkan/%.comp - $(M)$(SRC_PATH)/tools/source2c $< $@ diff --git a/libavcodec/vulkan/Makefile b/libavcodec/vulkan/Makefile new file mode 100644 index 0000000000..96b4de0092 --- /dev/null +++ b/libavcodec/vulkan/Makefile @@ -0,0 +1,10 @@ +GEN_CLEANSUFFIXES = *.o *.c *.d + +clean:: + $(RM) $(GEN_CLEANSUFFIXES:%=libavcodec/vulkan/%) + +VULKAN = $(subst $(SRC_PATH)/,,$(wildcard $(SRC_PATH)/libavcodec/vulkan/*.comp)) +.SECONDARY: $(VULKAN:.comp=.c) +libavcodec/vulkan/%.c: TAG = VULKAN +libavcodec/vulkan/%.c: $(SRC_PATH)/libavcodec/vulkan/%.comp + $(M)$(SRC_PATH)/tools/source2c $< $@ |