1
0
Fork 0

Added: build.bat, start.bat and program entry point.

Browse Source
This commit is contained in:
rhjr 2024-11-25 19:42:54 +01:00
parent df79a585c0
commit ffa04f05c5
4 changed files with 26 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
build/

11
build.bat Normal file
View File

@ -0,0 +1,11 @@
@echo off
setlocal
pushd "%~dp0"
if not exist ".\build" mkdir ".\build"
pushd .\build
cl ..\src\main.c /Feapp.exe /nologo
popd .\build

5
src/main.c Normal file
View File

@ -0,0 +1,5 @@
int
main(void)
{
return 0;
}

9
start.bat Normal file
View File

@ -0,0 +1,9 @@
@echo off
setlocal
pushd "%~dp0"
pushd build
.\app.exe
popd