Skip to content

Commit

Permalink
Fix stub plugin (Closes #43)
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lentq committed Nov 28, 2023
1 parent 0c99300 commit 24e086a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions metamod/extra/example/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ COMPILER = g++

OBJECTS = *.cpp

LINK =
LINK = -ldl

OPT_FLAGS = -O3 -msse3 -flto -funroll-loops -fomit-frame-pointer -fno-stack-protector -fPIC

INCLUDE = -I. -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine \
-I$(HLSDK)/game_shared -I$(HLSDK)/pm_shared -I$(HLSDK)/public -I$(METAMOD)

BIN_DIR = Release
CFLAGS = $(OPT_FLAGS)
CFLAGS = $(OPT_FLAGS) -Wno-unused-result

CFLAGS += -g -DNDEBUG -Dlinux -D__linux__ -D__USE_GNU -std=gnu++11 -shared
CFLAGS += -g -DNDEBUG -Dlinux -D__linux__ -D__USE_GNU -std=gnu++11 -shared -m32

OBJ_LINUX := $(OBJECTS:%.c=$(BIN_DIR)/%.o)

Expand Down

0 comments on commit 24e086a

Please sign in to comment.