magyarsort/makefile
2025-09-12 01:58:28 +02:00

42 lines
1.1 KiB
Makefile

debug: test.cpp magyarsort.h
g++ test.cpp -g -std=c++17 -o test.out
debug_ypsu: ypsu.cpp magyarsort.h
g++ ypsu.cpp -g -std=c++17 -o ypsu.out
release_coz: test.cpp magyarsort.h
g++ test.cpp -DNDEBUG -g1 -gdwarf-2 -std=c++17 -O2 -ldl -o test.out
release_debug_sym: test.cpp magyarsort.h
g++ test.cpp -DNDEBUG -g -std=c++17 -O2 -o test.out
release: test.cpp magyarsort.h
g++ test.cpp -DNDEBUG -std=c++17 -O2 -o test.out
release_ypsu: ypsu.cpp magyarsort.h
g++ ypsu.cpp -DNDEBUG -std=c++17 -O2 -o ypsu.out
release3_ypsu: ypsu.cpp magyarsort.h
g++ ypsu.cpp -DNDEBUG -std=c++17 -O3 -o ypsu.out
release_ypsu_assert: ypsu.cpp magyarsort.h
g++ ypsu.cpp -std=c++17 -O2 -o ypsu.out
release_ypsu_debug_sym: ypsu.cpp magyarsort.h
g++ ypsu.cpp -g -std=c++17 -O2 -o ypsu.out
release3: test.cpp magyarsort.h
g++ test.cpp -DNDEBUG -std=c++17 -O3 -o test.out
clang_release: test.cpp magyarsort.h
clang++ test.cpp -DNDEBUG -std=c++17 -O2 -o test.out
clang_release3: test.cpp magyarsort.h
clang++ test.cpp -DNDEBUG -std=c++17 -O3 -o test.out
clang_release_ypsu: ypsu.cpp magyarsort.h
clang++ ypsu.cpp -DNDEBUG -std=c++17 -O2 -o ypsu.out
clean: test.out
rm test.out