diff --git a/examples/quickstart/Makefile b/examples/quickstart/Makefile
index 4d3f227..90c2237 100644
--- a/examples/quickstart/Makefile
+++ b/examples/quickstart/Makefile
@@ -5,7 +5,7 @@ JSONEXAMPLES=$(ROOT)/jsonexamples
 test: quickstart twitter.json
 	./quickstart
 quickstart: quickstart.cpp simdjson.cpp simdjson.h
-	c++ -o ./quickstart quickstart.cpp simdjson.cpp
+	$(CXX) -o ./quickstart quickstart.cpp simdjson.cpp
 clean:
 	rm -f simdjson.cpp simdjson.h twitter.json quickstart quickstart11 quickstart14
 simdjson.cpp: $(SINGLEHEADER)/simdjson.cpp
@@ -17,16 +17,16 @@ twitter.json: $(JSONEXAMPLES)/twitter.json
 
 quickstart11: $(ROOT)/src/**.h $(ROOT)/src/**.cpp $(ROOT)/include/**.h $(ROOT)/src/**.cpp
 	rm -f simdjson.h simdjson.cpp
-	c++ -o ./quickstart11 quickstart.cpp $(ROOT)/src/simdjson.cpp -I$(ROOT)/src -I$(ROOT)/include -std=c++11
+	$(CXX) -o ./quickstart11 quickstart.cpp $(ROOT)/src/simdjson.cpp -I$(ROOT)/src -I$(ROOT)/include -std=c++11
 test11: quickstart11 twitter.json
 	./quickstart11
 quickstart14: $(ROOT)/src/**.h $(ROOT)/src/**.cpp $(ROOT)/include/**.h $(ROOT)/src/**.cpp
 	rm -f simdjson.h simdjson.cpp
-	c++ -o ./quickstart14 quickstart.cpp $(ROOT)/src/simdjson.cpp -I$(ROOT)/src -I$(ROOT)/include -std=c++14
+	$(CXX) -o ./quickstart14 quickstart.cpp $(ROOT)/src/simdjson.cpp -I$(ROOT)/src -I$(ROOT)/include -std=c++14
 test14: quickstart14 twitter.json
 	./quickstart14
 quickstart17: $(ROOT)/src/**.h $(ROOT)/src/**.cpp $(ROOT)/include/**.h $(ROOT)/src/**.cpp
 	rm -f simdjson.h simdjson.cpp
-	c++ -o ./quickstart17 quickstart.cpp $(ROOT)/src/simdjson.cpp -I$(ROOT)/src -I$(ROOT)/include -std=c++17
+	$(CXX) -o ./quickstart17 quickstart.cpp $(ROOT)/src/simdjson.cpp -I$(ROOT)/src -I$(ROOT)/include -std=c++17
 test17: quickstart17 twitter.json
 	./quickstart17
diff --git a/singleheader/README.md b/singleheader/README.md
index fd58a7a..e495ec9 100644
--- a/singleheader/README.md
+++ b/singleheader/README.md
@@ -1,2 +1,2 @@
 Try :
-c++ -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp  && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson
+${CXX} -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp  && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson
