Skip to content

Instantly share code, notes, and snippets.

@Zaur-Lumanov
Created December 3, 2015 16:16
Show Gist options
  • Save Zaur-Lumanov/5feebda327b85f5b3e6f to your computer and use it in GitHub Desktop.
Save Zaur-Lumanov/5feebda327b85f5b3e6f to your computer and use it in GitHub Desktop.
GPP=g++
OUTFILE="pluginname.so"
COMPILE_FLAGS=-c -fPIC -O3 -w -DLINUX -ISDK/amx/
all:
$(GPP) $(COMPILE_FLAGS) SDK/*.cpp
$(GPP) $(COMPILE_FLAGS) *.cpp
$(GPP) -O2 -m32 -fshort-wchar -shared -o $(OUTFILE) *.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment