aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9b09161..46ebf2e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,6 @@
-test: test.cpp promise.hpp
- g++ -o test test.cpp -std=c++17
+.PHONY: all
+all: test14 test17
+test14: test.cpp promise.hpp
+ g++ -o $@ test.cpp -std=c++17
+test17: test.cpp promise.hpp
+ g++ -o $@ test.cpp -std=c++14