SDL-1.2: updates to .gitignore

From f00bc7a1918fa830591fefaf5317abc588a57490 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 15 Feb 2021 00:00:02 +0300
Subject: [PATCH] updates to .gitignore

---
 .gitignore | 55 ++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 41 insertions(+), 14 deletions(-)

diff --git a/.gitignore b/.gitignore
index ca84cecb..0f142222 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,25 +7,56 @@ libtool
 Makefile
 sdl-config
 SDL.spec
+sdl.pc
 SDL.qpg
 build
 build-deps
+
+*.so
+*.so.*
+*.dll
+*.exe
+*.o
+*.obj
+*.lib
+*.a
+*.la
+*.dSYM
+*,e1f
+*,ff8
+*.lnk
+*.err
+*.exp
+*.map
+*.orig
+*~
+*.swp
+*.tmp
+*.rej
+
+# for Xcode
+*.mode1*
+*.perspective*
+*.pbxuser
+(^|/)build($|/)
 .DS_Store
-sdl.pc
-include/SDL_config.h
-test/aclocal.m4
-test/autom4te*
-test/config.cache
-test/config.log
-test/config.status
-test/Makefile
-test/SDL.dll
+xcuserdata
+*.xcworkspace
+
+# for Visual C++
+.vs
+Debug
+Release
+*.user
+*.ncb
+*.suo
+*.sdf
+
 test/stdout.txt
 test/stderr.txt
 test/checkkeys
 test/graywin
 test/loopwave
-test/testpower
 test/testalpha
 test/testbitmap
 test/testblitspeed
@@ -55,7 +86,3 @@ test/threadwin
 test/torturethread
 test/testcursor
 test/testloadso
-test/*.exe
-test/*,e1f
-test/*,ff8
-test/*.dSYM