diff --git a/.gitignore b/.gitignore
index aa1d42424c38ae9ddbdf6052a63cbdbc294a1384..d83d289e19efac4134b389e7c3e6ba7d0b34366a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,20 +1,117 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
 // Our automatic versioning scheme generates the following file
 // NEVER put it in the repository
 _Version.h
 
-// All of the following OS, IDE and compiler generated file
-// references should be moved from this file
-// They are needed, but they belong in your global .gitignore
-// rather than in a per-project file such as this
-
-*.o
+//
+// OS
+//
 applet/
+*.DS_Store
+
+
+//
+// Misc
+//
 *~
 *.orig
 *.rej
 *.bak
-*.DS_Store
 *.idea
 *.s
 *.i
 *.ii
+*.swp
+
+
+//
+// C++
+//
+# Compiled Object files
+*.slo
+*.lo
+*.o
+*.obj
+
+# Precompiled Headers
+*.gch
+*.pch
+
+# Compiled Dynamic libraries
+*.so
+*.dylib
+*.dll
+
+# Fortran module files
+*.mod
+*.smod
+
+# Compiled Static libraries
+*.lai
+*.la
+*.a
+*.lib
+
+# Executables
+*.exe
+*.out
+*.app
+
+
+//
+// C
+//
+# Object files
+*.o
+*.ko
+*.obj
+*.elf
+
+# Precompiled Headers
+*.gch
+*.pch
+
+# Libraries
+*.lib
+*.a
+*.la
+*.lo
+
+# Shared objects (inc. Windows DLLs)
+*.dll
+*.so
+*.so.*
+*.dylib
+
+# Executables
+*.exe
+*.out
+*.app
+*.i*86
+*.x86_64
+*.hex
+
+# Debug files
+*.dSYM/
+*.su