From 50856ecb76f6eb0b1793ac9e45debd250b37fab7 Mon Sep 17 00:00:00 2001 From: Cleverson Date: Thu, 12 Sep 2024 10:49:22 -0300 Subject: [PATCH] Update Makefile --- MatchBot/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MatchBot/Makefile b/MatchBot/Makefile index 40560cb..c37f5e8 100644 --- a/MatchBot/Makefile +++ b/MatchBot/Makefile @@ -11,14 +11,14 @@ NAME = matchbot BIN_DIR = Release # G++ -COMPILER = -g++ +COMPILER = -c++ OBJECTS = *.cpp # Linker Libs LINKER = -static-libgcc -static-libstdc++ # C flags -CFLAGS = -std=gnu++11 -pipe -g0 -O3 -s -flto -funroll-loops -fno-stack-protector -g -DNDEBUG -Dlinux -D__linux__ -D_GLIBCXX_USE_CXX11_ABI=0 -m32 -msse3 -msse4.1 -shared +CFLAGS = -std=c++11 -shared -m32 -msse3 -msse4.1 -pipe -g0 -O3 -s -flto -funroll-loops -fno-stack-protector -g -DNDEBUG -Dlinux -D__linux__ -D_GLIBCXX_USE_CXX11_ABI=0 # Include directory INCLUDE = -I. -I$(CSSDK)/common -I$(CSSDK)/dlls -I$(CSSDK)/engine -I$(CSSDK)/game_shared -I$(CSSDK)/pm_shared -I$(CSSDK)/public -I$(METAMOD) @@ -42,7 +42,7 @@ $(NAME): $(OBJ_LINUX) $(COMPILER) $(INCLUDE) $(CFLAGS) $(OBJ_LINUX) $(LINKER) -o$(BIN_DIR)/$(NAME)_mm.so check: - cppcheck $(INCLUDE) --quiet --max-configs=100 --std=gnu++11 -DNDEBUG -Dlinux -D__linux__ -D_GLIBCXX_USE_CXX11_ABI=0 -U_FORTIFY_SOURCE . + cppcheck $(INCLUDE) --quiet --max-configs=100 --std=c++11 -DNDEBUG -Dlinux -D__linux__ -D_GLIBCXX_USE_CXX11_ABI=0 -U_FORTIFY_SOURCE . default: all