Merge commit 'cbcdb2d8e47f62f69accee62c08f487a27848174'
authorJames Almer <jamrial@gmail.com>
Sun, 12 Nov 2017 02:15:09 +0000 (23:15 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 12 Nov 2017 02:15:31 +0000 (23:15 -0300)
* commit 'cbcdb2d8e47f62f69accee62c08f487a27848174':
  build: Delete compiler-generated compat files on 'make clean'

See
d100dc6c9955af8b7a7a60a37a362a51c819222e
a2ca9e11ff7166cbbc0314d152702a201f6a14fb

Merged-by: James Almer <jamrial@gmail.com>
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