sdl2-compat: Ignore more build directories

From 1dbe16b06ad115f60be327b51d985e4b49241bf1 Mon Sep 17 00:00:00 2001
From: ChillerDragon <[EMAIL REDACTED]>
Date: Thu, 19 Feb 2026 14:31:50 +0100
Subject: [PATCH] Ignore more build directories

Same as in the SDL repo

https://github.com/libsdl-org/SDL/blob/72ed7d0f8715f8dbfb0c8dcd4103cd92c9573c72/.gitignore#L1-L3
---
 .gitignore | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitignore b/.gitignore
index 4b081763..cee1da92 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,4 @@
 cmake-build
+build/
+build-*/
+!build-scripts/