commit 315d0f118f3d5ec2578249182f7b0eebf99d2943 parent f784a0218afc7eb39d1e0963d61f7ba7ecc14f1a Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Fri, 8 Aug 2025 15:42:18 +0200 Fixed build.bat Diffstat:
M | build.bat | | | 22 | +++++++++++----------- |
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/build.bat b/build.bat @@ -1,18 +1,18 @@ SET CFLAGS=-std=c11 -fPIC -D_POSIX_C_SOURCE=199309L -pthread -O3 -pedantic -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -DTHREADS=16 -DPORTABLE -# Build the core library and the shell. -# Requires WinLibs - https://winlibs.com/ +:: Build the core library and the shell. +:: Requires WinLibs - https://winlibs.com/ gcc %CFLAGS% -c src/nissy.c -gcc %CFLAGS% shell/shell.c -o run +gcc %CFLAGS% nissy.o shell/shell.c -o run -# Currently, building the Python module is not supported. -# There are probably some issues related to using GCC + MINGW instead -# of a more native Windows compiler. +:: Currently, building the Python module is not supported. +:: There are probably some issues related to using GCC + MINGW instead +:: of a more native Windows compiler. -# Python libraries - change to mathc your local installation -#SET PYPATH=%userprofile%\AppData\Local\Programs\Python\Python313 -#SET PYINCLUDE=%PYPATH%\include -#SET PYDLL=%PYPATH%\python313.dll +:: Python libraries - change to mathc your local installation +::SET PYPATH=%userprofile%\AppData\Local\Programs\Python\Python313 +::SET PYINCLUDE=%PYPATH%\include +::SET PYDLL=%PYPATH%\python313.dll -#gcc %CFLAGS% -I%PYINCLUDE% -shared %PYDLL% python/nissy_module.c nissy.o -o nissy_python_module.pyd +::gcc %CFLAGS% -I%PYINCLUDE% -shared %PYDLL% python/nissy_module.c nissy.o -o nissy_python_module.pyd