diff options
| author | salmonik <salmonik@tuta.io> | 2026-08-30 03:32:59 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-08-30 03:32:59 +0200 |
| commit | aa096fe6886681d3338573cd3af779b57a5b56ab (patch) | |
| tree | 14aee66fa1c3c168c140f02006aec246f9bbc23c /build.sh | |
| download | hl2h-aa096fe6886681d3338573cd3af779b57a5b56ab.tar.gz hl2h-aa096fe6886681d3338573cd3af779b57a5b56ab.zip | |
init
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..33ff3c8 --- /dev/null +++ b/build.sh | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | set -e | ||
| 3 | cd "$(dirname "$0")" | ||
| 4 | g++ -m32 -O2 -std=c++17 -Wall -Wextra -fPIC -shared -fvisibility=hidden \ | ||
| 5 | -fno-exceptions -fno-rtti -static-libstdc++ -static-libgcc -pthread \ | ||
| 6 | -o libhl2hake.so \ | ||
| 7 | src/hl2h.cpp src/modules.cpp src/cinput.cpp src/netvars.cpp src/menu.cpp \ | ||
| 8 | -ldl | ||
| 9 | file libhl2hake.so | ||
