aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vulkan/Makefile
blob: 351332ee4496fdf08b399adeb880f5cf49f2c8fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
GEN_CLEANSUFFIXES = *.o *.c *.d

clean::
	$(RM) $(GEN_CLEANSUFFIXES:%=libavcodec/vulkan/%)

OBJS-$(CONFIG_FFV1_VULKAN_ENCODER)  +=  vulkan/common.o \
					vulkan/rangecoder.o vulkan/ffv1_vlc.o \
					vulkan/ffv1_common.o vulkan/ffv1_reset.o \
					vulkan/ffv1_enc_common.o \
					vulkan/ffv1_enc_rct.o vulkan/ffv1_enc_setup.o \
					vulkan/ffv1_enc_vlc.o vulkan/ffv1_enc_ac.o \
					vulkan/ffv1_enc.o vulkan/ffv1_enc_rgb.o

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 $< $@