diff --git a/Makefile b/Makefile
index e892611d5f894041f3ece22e281c387bcf95b0ed..892ee98207ff3a68f23c03bbb115c69f5fb2cdb4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,10 @@
-1_understanding_a_computer.html: 1_understanding_a_computer.md pandoc.css
-	pandoc -s --toc -c pandoc.css 1_understanding_a_computer.md -o 1_understanding_a_computer.html
+all: index.html 1_understanding_a_computer.html 2_first_steps_in_a_terminal.html
+
+index.html: index.md github-pandoc.css
+	pandoc -s -c github-pandoc.css index.md -o index.html
+
+1_understanding_a_computer.html: 1_understanding_a_computer.md github-pandoc.css
+	pandoc -s --toc -c github-pandoc.css 1_understanding_a_computer.md -o 1_understanding_a_computer.html
+
+2_first_steps_in_a_terminal.html: 2_first_steps_in_a_terminal.md github-pandoc.css
+	pandoc -s --toc -c github-pandoc.css 2_first_steps_in_a_terminal.md -o 2_first_steps_in_a_terminal.html