Merge commit 'cbcdb2d8e47f62f69accee62c08f487a27848174'
[ffmpeg.git] / Makefile
index 22f194b..e088e30 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -134,9 +134,7 @@ uninstall-data:
 
 clean::
        $(RM) $(CLEANSUFFIXES)
-       $(RM) $(CLEANSUFFIXES:%=compat/msvcrt/%)
-       $(RM) $(CLEANSUFFIXES:%=compat/atomics/pthread/%)
-       $(RM) $(CLEANSUFFIXES:%=compat/%)
+       $(RM) $(addprefix compat/,$(CLEANSUFFIXES)) $(addprefix compat/*/,$(CLEANSUFFIXES))
        $(RM) -r coverage-html
        $(RM) -rf coverage.info coverage.info.in lcov