mirror of
https://github.com/vxcontrol/lualibs-winapi.git
synced 2026-07-01 13:54:03 -04:00
6 lines
257 B
Batchfile
6 lines
257 B
Batchfile
REM compiling for mingw against msvcrt
|
|
set LUA_DIR=D:\dev\lua\lua-5.2.0\src
|
|
set CFLAGS=-c -g -DPSAPI_VERSION=1 -I"%LUA_DIR%"
|
|
gcc %CFLAGS% winapi.c
|
|
gcc %CFLAGS% wutils.c
|
|
gcc -g -shared winapi.o wutils.o "%LUA_DIR%\lua52.dll" -lpsapi -lMpr -o winapi.dll |