summaryrefslogtreecommitdiffhomepage
path: root/compile.bat
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2021-12-27 00:48:59 +0000
committerMichael Smith <mikesmiffy128@gmail.com>2021-12-27 00:48:59 +0000
commit6a784e08fe87af65fa9d10912bbd5c1a27a14ba5 (patch)
treeae80ee63a2d47bedcdfb2b04341a008744002a9d /compile.bat
parent39725b79404acb6a020b3653b59df3e7bf598e00 (diff)
Reintroduce autojump code
Diffstat (limited to 'compile.bat')
-rw-r--r--compile.bat5
1 files changed, 3 insertions, 2 deletions
diff --git a/compile.bat b/compile.bat
index 06596b0..844ce01 100644
--- a/compile.bat
+++ b/compile.bat
@@ -24,8 +24,8 @@ 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
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
-.build\codegen.exe 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
+.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
.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
@@ -35,6 +35,7 @@ llvm-rc /FO .build\dll.res .build\dll.pp.rc || exit /b
:: might as well remove the temp file afterwards
del .build\dll.pp.rc
clang -m32 -shared -fuse-ld=lld -O0 -w -o .build/tier0.dll src/tier0stub.c
+call :cc src/autojump.c || exit /b
call :cc src/con_.c || exit /b
call :cc src/demorec.c || exit /b
call :cc src/dbg.c || exit /b