From 88bd43c093e0280258fd36a584fad9d3786dacf1 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Mon, 2 Dec 2024 16:04:43 +0100 Subject: window icon --- build.bat | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'build.bat') diff --git a/build.bat b/build.bat index adc4518..8302705 100644 --- a/build.bat +++ b/build.bat @@ -1,3 +1,6 @@ robocopy "data/" "build/data" /s /e -gcc.exe -m64 -w -g -DMODE_DEBUG src/main.c -o build/truckerx2.exe -Llibs/ -lSDL2 -lSDL2_mixer -call build\truckerx2.exe \ No newline at end of file + +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 -mwindows +call build\truckerx.exe \ No newline at end of file -- cgit v1.2.3-70-g09d2