optime() macro and gcc -O1

This commit is contained in:
2022-02-15 23:30:13 +03:00
parent ed10ac273e
commit a322ee4545
4 changed files with 25 additions and 18 deletions

View File

@@ -17,7 +17,7 @@ clang: all
CMPARGS= -Wall $(SRC) -o $(OUTFILE)
build:
@echo "\e[36m-------------[build]---------------\e[0m"
$(CMP) -O2 $(CMPARGS)
$(CMP) -O1 -flto $(CMPARGS)
build_dbg:
@echo "\e[36m-------------[build_dbg]---------------\e[0m"
$(CMP) -O0 $(CMPARGS).dbg