From a2ee3cdb8c574222cff7fcc214d629326474954d Mon Sep 17 00:00:00 2001 From: Richard Thier Date: Tue, 25 Jan 2022 20:04:25 +0100 Subject: [PATCH] make: better makefile --- makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/makefile b/makefile index b3836fc..f67b0bc 100644 --- a/makefile +++ b/makefile @@ -1,23 +1,23 @@ debug: test.cpp magyarsort.h - g++ test.cpp -g -std=c++14 -o test.out + g++ test.cpp -g -std=c++17 -o test.out release_coz: test.cpp magyarsort.h - g++ test.cpp -g1 -gdwarf-2 -std=c++14 -O2 -ldl -o test.out + g++ test.cpp -g1 -gdwarf-2 -std=c++17 -O2 -ldl -o test.out release_debug_sym: test.cpp magyarsort.h - g++ test.cpp -g -std=c++14 -O2 -o test.out + g++ test.cpp -g -std=c++17 -O2 -o test.out release: test.cpp magyarsort.h - g++ test.cpp -std=c++14 -O2 -o test.out + g++ test.cpp -std=c++17 -O2 -o test.out release3: test.cpp magyarsort.h - g++ test.cpp -std=c++14 -O3 -o test.out + g++ test.cpp -std=c++17 -O3 -o test.out clang_release: test.cpp magyarsort.h - clang++ test.cpp -std=c++14 -O2 -o test.out + clang++ test.cpp -std=c++17 -O2 -o test.out clang_release3: test.cpp magyarsort.h - clang++ test.cpp -std=c++14 -O3 -o test.out + clang++ test.cpp -std=c++17 -O3 -o test.out clean: test.out rm test.out