Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Commit

Permalink
release version without console window
Browse files Browse the repository at this point in the history
  • Loading branch information
SzieberthAdam committed Jan 8, 2023
1 parent 630fade commit edcbd2d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Binary file modified bin/hortirata.exe
Binary file not shown.
15 changes: 15 additions & 0 deletions src/buildrelease.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@echo off
setlocal
SET RAYLIB_PATH=C:\raylib\raylib
SET COMPILER_PATH=C:\raylib\w64devkit\bin
SET PATH=%COMPILER_PATH%
SET CFLAGS=%RAYLIB_PATH%\src\raylib.rc.data -s -static -O2 -std=c99 -Wall -I%RAYLIB_PATH%\src -Iexternal -DPLATFORM_DESKTOP -mwindows
SET LDFLAGS=-lraylib -lopengl32 -lgdi32 -lwinmm

if exist ..\bin\hortirata.exe del /F ..\bin\hortirata.exe
gcc -o ..\bin\hortirata.exe hortirata.c %CFLAGS% %LDFLAGS% 2> build.log

copy /Y ..\artwork\bg.png ..\bin
copy /Y ..\artwork\tiles.png ..\bin

endlocal

0 comments on commit edcbd2d

Please sign in to comment.