[x264-devel] [PATCH 1/5] Makefile: Recursively delete conftest files

Vittorio Giovara vittorio.giovara at gmail.com
Fri Jan 27 16:21:14 CET 2017


They are stored in a directory on macOS.
---
Without this make distclean errors out.

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index d0b1633..d97c9e6 100644
--- a/Makefile
+++ b/Makefile
@@ -278,7 +278,7 @@ clean:
 	rm -f $(SRC2:%.c=%.gcda) $(SRC2:%.c=%.gcno) *.dyn pgopti.dpi pgopti.dpi.lock *.pgd *.pgc
 
 distclean: clean
-	rm -f config.mak x264_config.h config.h config.log x264.pc x264.def conftest*
+	rm -rf config.mak x264_config.h config.h config.log x264.pc x264.def conftest*
 
 install-cli: cli
 	$(INSTALL) -d $(DESTDIR)$(bindir)
-- 
2.10.0



More information about the x264-devel mailing list