diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..7c3bb1014e70212d971f0c0e8f80339c9aa2c629
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,7 @@
+# This Makefile compiles and flashes four different programs:
+
+CPPFLAGS=-Wall -O3 -pthread
+
+%: %.cpp
+	g++ $(CPPFLAGS) -o build/$@ $<
+ 
diff --git a/thread.cpp b/thread.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..94ab3f510978d34d5d82715188906ab385516823
--- /dev/null
+++ b/thread.cpp
@@ -0,0 +1,13 @@
+#include <thread>
+#include <iostream>
+
+void thread_method() {
+    std::cout << "hello thread" << std::endl;
+}
+
+int main() {
+    std::thread thread(thread_method);
+    thread.join();
+    return 0;
+}
+