diff --git a/dlls/fun/Makefile b/dlls/fun/Makefile index bb88f3e5..8cc1d091 100755 --- a/dlls/fun/Makefile +++ b/dlls/fun/Makefile @@ -12,7 +12,7 @@ EXTRA_FLAGS = -Dstrcmpi=strcasecmp AMXDIR=../amxmodx SDKTOP=../hlsdk -METADIR=../metamodx +METADIR=../metamod/metamod SDKSRC=$(SDKTOP)/SourceCode @@ -55,9 +55,8 @@ endif OBJ_LINUX := $(SRCFILES:%.cpp=$(OBJDIR_LINUX)/%.o) OBJ_WIN32 := $(SRCFILES:%.cpp=$(OBJDIR_WIN32)/%.o) -CCOPT = -march=i586 -O6 -ffast-math -funroll-loops \ - -fomit-frame-pointer -fexpensive-optimizations -malign-loops=2 \ - -malign-jumps=2 -malign-functions=2 -s -DNDEBUG +CCOPT = -march=i386 -O2 -ffast-math -funroll-loops \ + -s -DNDEBUG INCLUDEDIRS=-I../curl/include -I$(SRCDIR) -I$(AMXDIR) -I$(METADIR) -I$(SDKSRC)/engine -I$(SDKSRC)/common -I$(SDKSRC)/pm_shared -I$(SDKSRC)/dlls -I$(SDKSRC) $(EXTRA_INCLUDEDIRS) CFLAGS=-Wall -Wno-unknown-pragmas