diff --git a/.gitignore b/.gitignore
index ef9e4e974394a774288390aa19834588ccb4276d..015283e397942d9251b115e8c1cf90c0d77f63ef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,34 @@
-FileCopy
-threading
+###
+ # GitIgnore file for C Language projects.
+ # See https://git-scm.com/docs/gitignore for documentation.
+ #
+ # Version 1.0
+ ##
+
+
+# Ignore environment settings.
+.vs/
+.vscode/
+vs/
+vscode/
+
+
+# Ignore temporary files.
+[Tt]emp/
+[Tt]empfiles/
+[Tt]emp_files/
+*.tmp
+*.temp
+
+
+# Ignore compiled files.
+*.o
+*.obj
+*.out
+
+
+# Ignore logfiles.
+[Ll]og/
+[Ll]ogs/
+*.log
+*.log.*
diff --git a/makefile b/makefile
index 04837190ec05d9ecec1c570879aae6aede70f060..44743eae2e712f52ecd82d7142856ece6ca7c4be 100644
--- a/makefile
+++ b/makefile
@@ -1,3 +1,3 @@
 all:
-	gcc -Wall -Wpedantic -std=c99 FileCopy.c -g -o FileCopy
-	gcc -Wall -Wpedantic -std=c99 threading.c matrix_structs.c matrix_display.c brodriguez_helper_functions.c -g -o threading -pthread
+	gcc -Wall -Wpedantic -std=c99 FileCopy.c -g -o FileCopy.out
+	gcc -Wall -Wpedantic -std=c99 threading.c matrix_structs.c matrix_display.c brodriguez_helper_functions.c -g -o threading.out -pthread