make: better makefile
This commit is contained in:
parent
ff05bc2688
commit
a2ee3cdb8c
14
makefile
14
makefile
@ -1,23 +1,23 @@
|
|||||||
debug: test.cpp magyarsort.h
|
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
|
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
|
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
|
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
|
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_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_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
|
clean: test.out
|
||||||
rm test.out
|
rm test.out
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user