summaryrefslogtreecommitdiffhomepage
path: root/compile.bat
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2021-12-30 16:18:25 +0000
committerMichael Smith <mikesmiffy128@gmail.com>2021-12-30 16:18:25 +0000
commitf7cc6b4dcc164403d62c9b48ae37f1c4c20f4b4f (patch)
tree01e10063327d80bc265efdec6680ed38147a87b9 /compile.bat
parent0f232d8eaee1f94896596a9969982297cee7dc67 (diff)
Split up os.h, inline functions and fix some typos
Diffstat (limited to 'compile.bat')
-rw-r--r--compile.bat7
1 files changed, 3 insertions, 4 deletions
diff --git a/compile.bat b/compile.bat
index 844ce01..60b4973 100644
--- a/compile.bat
+++ b/compile.bat
@@ -21,11 +21,11 @@ goto :eof
:main
clang -municode -O2 -fuse-ld=lld %warnings% -D_CRT_SECURE_NO_WARNINGS -ladvapi32 ^
--o .build/codegen.exe src/build/codegen.c src/build/cmeta.c src/os.c || exit /b
+-o .build/codegen.exe src/build/codegen.c src/build/cmeta.c || exit /b
clang -municode -O2 -fuse-ld=lld %warnings% -D_CRT_SECURE_NO_WARNINGS -ladvapi32 ^
--o .build/mkgamedata.exe src/build/mkgamedata.c src/kv.c src/os.c || exit /b
+-o .build/mkgamedata.exe src/build/mkgamedata.c src/kv.c || exit /b
.build\codegen.exe src/autojump.c src/con_.c src/demorec.c src/dbg.c src/fixes.c ^
-src/gamedata.c src/gameinfo.c src/hook.c src/kv.c src/os.c src/sst.c src/udis86.c || exit /b
+src/gamedata.c src/gameinfo.c src/hook.c src/kv.c src/sst.c src/udis86.c || exit /b
.build\mkgamedata.exe gamedata/engine.kv gamedata/gamelib.kv || exit /b
:: llvm-rc doesn't preprocess, looks like it might later:
:: https://reviews.llvm.org/D100755?id=339141
@@ -45,7 +45,6 @@ call :cc src/gamedata.c || exit /b
call :cc src/gameinfo.c || exit /b
call :cc src/hook.c || exit /b
call :cc src/kv.c || exit /b
-call :cc src/os.c || exit /b
call :cc src/sst.c || exit /b
call :cc src/udis86.c || exit /b
clang -m32 -shared -O2 -flto -fuse-ld=lld -Wl,/implib:.build/sst.lib,/Brepro ^