Build directories commonly have compiler in their names.
In order to filter build directories not starting with "build-"
(common with make), patterns for gcc and clang are added to .gitignore.

Signed-off-by: Thomas Monjalon <tho...@monjalon.net>
---
 .gitignore | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitignore b/.gitignore
index 5eda2c31e..9741ba076 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,6 @@ TAGS
 # ignore default build directory, and directories from test-meson-builds.sh
 build
 build-*
+# ignore other build directory patterns
+*-gcc*
+*-clang*
-- 
2.23.0

Reply via email to