aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ba6ee2c..55e89c3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,10 @@
.PHONY: all
-all: test14 test17
+all: test14 test17 test14_stack_free test17_stack_free
test14: test.cpp promise.hpp
$(CXX) -o $@ test.cpp -std=c++14 -Wall -Wextra -Wpedantic -O2
test17: test.cpp promise.hpp
$(CXX) -o $@ test.cpp -std=c++17 -Wall -Wextra -Wpedantic -O2
+test14_stack_free: test.cpp promise.hpp
+ $(CXX) -o $@ test.cpp -std=c++14 -Wall -Wextra -Wpedantic -O2 -DCPPROMISE_USE_STACK_FREE
+test17_stack_free: test.cpp promise.hpp
+ $(CXX) -o $@ test.cpp -std=c++17 -Wall -Wextra -Wpedantic -O2 -DCPPROMISE_USE_STACK_FREE