aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 55e89c3a87c2a1b7c1ea52a82a558a7e05d01d9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
.PHONY: all
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