diff options
| author | Quentin LADEVIE <qladevie@wanadev.fr> | 2023-12-12 21:56:52 +0100 |
|---|---|---|
| committer | Quentin LADEVIE <qladevie@wanadev.fr> | 2023-12-12 21:56:52 +0100 |
| commit | 1af1a13303c5254a7568f46d4b96e3dc4681851a (patch) | |
| tree | 576b9d1118a07e2e2608a2b350569f97c20e19d8 /build.bat | |
Initial commit
Diffstat (limited to 'build.bat')
| -rw-r--r-- | build.bat | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..dad3f4e --- /dev/null +++ b/build.bat @@ -0,0 +1,7 @@ +call "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build/vcvarsall.bat" x64 + +set C_FLAGS=/nologo /O2 /WX- /W4 /Zi /GS- /GR- /Gs1000000 /std:c11 +set L_FLAGS=/nodefaultlib /subsystem:console /stack:100000,100000 +set LIBS=kernel32.lib user32.lib gdi32.lib + +cl %C_FLAGS% main.c /link %L_FLAGS% %LIBS% |
