Files
rdsspy-lua-host/Makefile
2026-01-01 20:18:50 +01:00

12 lines
295 B
Makefile

liblua:
gcc -c lua/*.c
ar rcs liblua *.o
rm *.o
build: liblua
gcc -O2 -shared -static -o luahost.dll plugin.c liblua -lgdi32 -luser32 -lshell32 \
-Wl,--add-stdcall-alias \
-ffunction-sections -fdata-sections
install: build
cp luahost.dll "/c/Program Files (x86)/RDS Spy/plugins"