header only lib

This commit is contained in:
vrd
2024-05-17 19:02:56 +03:00
parent a8fb5f7d3d
commit 57c0aa4309
10 changed files with 272 additions and 264 deletions
+3 -3
View File
@@ -11,10 +11,10 @@ const char* CXX = "g++";
#define DEBUG_FLAGS "-g"
// ...when not debugging
#define RELEASE_FLAGS "-Ofast", "-flto", "-s"
#define RELEASE_FLAGS "-Ofast", "-s"
// ...for both C and C++
#define CPPFLAGS "-pipe", "-march=native", "-Wall", "-Wextra"
#define CPPFLAGS "--whole-program", "-march=native", "-Wall", "-Wextra", "-pipe"
// ...for C
#define CFLAGS CPPFLAGS
@@ -22,4 +22,4 @@ const char* CXX = "g++";
// ...for C++
// cppipe command functions use C++17
// Wparentheses is disabled on C++ because of the cppipe functions
#define CXXFLAGS CPPFLAGS, "-std=c++17", "-Wno-parentheses", "-lcppipe"
#define CXXFLAGS CPPFLAGS, "-std=c++17", "-Wno-parentheses"