Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileYzn authored Sep 12, 2024
1 parent 417087e commit 50856ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MatchBot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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

Expand Down

0 comments on commit 50856ec

Please sign in to comment.