diff --git a/Makefile b/Makefile
index 7c3bb1014e70212d971f0c0e8f80339c9aa2c629..2f068ddd63e1cb623a2214a095a8e7356d2717cb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 # This Makefile compiles and flashes four different programs:
 
-CPPFLAGS=-Wall -O3 -pthread
+CPPFLAGS=-Wall -O3 -pthread -std=c++11
 
 %: %.cpp
 	g++ $(CPPFLAGS) -o build/$@ $<