summaryrefslogtreecommitdiff
path: root/build.bat
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-12-05 11:42:11 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-12-05 11:42:11 +0100
commit0974ff30789a215a31255080251c01eaaf9a5297 (patch)
treeeda0b28d3e1aee2ca17d0f433c00574809e205d9 /build.bat
parent190760b05d943e065cad31a0b983ef7736551feb (diff)
link with steam sdk and create bindings
Diffstat (limited to 'build.bat')
-rw-r--r--build.bat4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.bat b/build.bat
index 1d1c13a..c608978 100644
--- a/build.bat
+++ b/build.bat
@@ -2,5 +2,7 @@ robocopy "data/" "build/data" /s /e
windres icon.rc -O coff -o icon.res
-gcc.exe -m64 -w -g -DMODE_DEBUG src/main.c icon.res -o build/truckerx.exe -Llibs/ -lSDL2 -lSDL2_mixer
+g++.exe -m64 -c src/intermediate.c -I. -o libs/intermediate.o -Llibs/ -lsteam_api64
+
+gcc.exe -m64 -w -g -DMODE_DEBUG src/main.c icon.res -o build/truckerx.exe libs/intermediate.o -I. -Llibs/ -lSDL2 -lSDL2_mixer -lsteam_api64
call build\truckerx.exe \ No newline at end of file