@@ -22,7 +22,7 @@ Designed to be simple, readable, and easy to extend, ideal for game engines, too
2222- ✅ ** Cross-Platform** : Windows, Linux, macOS with automatic detection
2323- ✅ ** Build Types** : Multiple configurations (release, debug, relwithdebinfo, analyze) with proper optimization levels
2424- ✅ ** Architecture Optimization** : Architecture-specific optimization via ` ARCH ` variable (native, skylake, znver4, armv8-a, etc.)
25- - ✅ ** Link-Time Optimization (LTO)** : Control LTO with ` USE_LTO ` flag (enabled by default in release builds)
25+ - ✅ ** Link-Time Optimization (LTO)** : Control LTO with ` USE_LTO ` flag (disabled by default in release builds)
2626- ✅ ** Static Analysis** : Built-in ` make analyze ` target for static code analysis
2727- ✅ ** Dependency Tracking** : Automatic ` .d ` file generation
2828- ✅ ** Assembly Output** : Generate assembly files (` make asm ` ) and disassembly (` make disassemble ` )
@@ -46,7 +46,7 @@ git clone https://github.com/DMsuDev/Basic-Makefile-Template.git
4646cd Basic-Makefile-Template
4747```
4848
49- ### Steps to build and run the examples:
49+ ### Steps to build and run the examples
5050
5151``` bash
5252# Option 1: View the spinning ASCII donut (terminal animation)
@@ -140,11 +140,11 @@ These variables control the behavior of the project and can be overridden direct
140140| ---------------- | -------------------------------------------- | ------------- |
141141| ** APP_NAME** | Output executable name (no extension) | ` ProjectName ` |
142142| ** SRC_EXT** | Source file extension | ` cpp ` |
143- | ** LANGUAGE ** | C/C++ standard | ` c++23 ` |
143+ | ** CXX_STD ** | C/C++ standard | ` c++23 ` |
144144| ** CXX** | Compiler to use | ` g++ ` |
145145| ** USE_CONSOLE** | Show console window on Windows | ` true ` |
146146| ** BUILD_TYPE** | Build variant (release/debug/relwithdebinfo) | ` release ` |
147- | ** USE_LTO** | Enable Link-Time Optimization | ` true ` |
147+ | ** USE_LTO** | Enable Link-Time Optimization | ` false ` |
148148| ** ANALYZE** | Enable static analysis flags | ` false ` |
149149| ** ARCH** | Target architecture (` -march= ` ) | ` native ` |
150150| ** WARN_LEVEL** | Warning strictness (minimal/normal/strict) | ` minimal ` |
@@ -160,7 +160,7 @@ These variables control the behavior of the project and can be overridden direct
160160make APP_NAME=MyApp
161161
162162# Use Clang++ and C++20 instead of G++ and C++23 (default values)
163- make CXX=clang++ LANGUAGE =c++20
163+ make CXX=clang++ CXX_STD =c++20
164164
165165# Build without console window on Windows
166166make release USE_CONSOLE=false
0 commit comments