You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	makefile: Clean up missed object files with "make clean"
In some builds, the following object files could be left behind after make clean: ./libavfilter/metal/utils.o ./libavfilter/metal/vf_yadif_videotoolbox.metallib.o ./libavcodec/x86/h26x/h2656dsp.o ./libavcodec/neon/mpegvideo.o ./ffbuild/bin2c_host.o Fixes: http://trac.ffmpeg.org/ticket/10895 Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
		| @@ -140,7 +140,7 @@ else | ||||
| endif | ||||
|  | ||||
| clean:: | ||||
| 	$(RM) $(BIN2CEXE) | ||||
| 	$(RM) $(BIN2CEXE) $(CLEANSUFFIXES:%=ffbuild/%) | ||||
|  | ||||
| %.c %.h %.pc %.ver %.version: TAG = GEN | ||||
|  | ||||
|   | ||||
| @@ -1 +1,4 @@ | ||||
| clean:: | ||||
| 	$(RM) $(CLEANSUFFIXES:%=libavcodec/neon/%) | ||||
|  | ||||
| OBJS-$(CONFIG_MPEGVIDEO)          += neon/mpegvideo.o | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| clean:: | ||||
| 	$(RM) $(CLEANSUFFIXES:%=libavcodec/x86/vvc/%) | ||||
| 	$(RM) $(CLEANSUFFIXES:%=libavcodec/x86/vvc/%) $(CLEANSUFFIXES:%=libavcodec/x86/h26x/%) | ||||
|  | ||||
| OBJS-$(CONFIG_VVC_DECODER)             += x86/vvc/vvcdsp_init.o \ | ||||
|                                           x86/h26x/h2656dsp.o | ||||
|   | ||||
| @@ -666,6 +666,7 @@ TOOLS-$(CONFIG_LIBZMQ) += zmqsend | ||||
|  | ||||
| clean:: | ||||
| 	$(RM) $(CLEANSUFFIXES:%=libavfilter/dnn/%) $(CLEANSUFFIXES:%=libavfilter/opencl/%) \ | ||||
|               $(CLEANSUFFIXES:%=libavfilter/metal/%) \ | ||||
|               $(CLEANSUFFIXES:%=libavfilter/vulkan/%) | ||||
|  | ||||
| OPENCL = $(subst $(SRC_PATH)/,,$(wildcard $(SRC_PATH)/libavfilter/opencl/*.cl)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user