diff --git a/.gitignore b/.gitignore
index 113d16dfac19fcd23c463196e0d5ed453a256d72..015283e397942d9251b115e8c1cf90c0d77f63ef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,34 @@
-3240Assignment2
+###
+ # 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 3fd8d9bd62810a5094d19f56d1e95f5c0aeb70cc..42182a78998b47b0c00af78497545f90a500fce2 100644
--- a/makefile
+++ b/makefile
@@ -1,3 +1,3 @@
 all:
-	gcc -Wall -Wpedantic -std=c99 *.c -g -o 3240Assignment2
+	gcc -Wall -Wpedantic -std=c99 *.c -g -o a2.out