From ffa04f05c5977cca5b6f34fb6959dd2a60a1df11 Mon Sep 17 00:00:00 2001 From: rhjr Date: Mon, 25 Nov 2024 19:42:54 +0100 Subject: [PATCH] Added: build.bat, start.bat and program entry point. --- .gitignore | 1 + build.bat | 11 +++++++++++ src/main.c | 5 +++++ start.bat | 9 +++++++++ 4 files changed, 26 insertions(+) create mode 100644 .gitignore create mode 100644 build.bat create mode 100644 src/main.c create mode 100644 start.bat diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..567609b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build/ diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..618af27 --- /dev/null +++ b/build.bat @@ -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 diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..77bc677 --- /dev/null +++ b/src/main.c @@ -0,0 +1,5 @@ +int +main(void) +{ + return 0; +} diff --git a/start.bat b/start.bat new file mode 100644 index 0000000..0585435 --- /dev/null +++ b/start.bat @@ -0,0 +1,9 @@ +@echo off +setlocal +pushd "%~dp0" + +pushd build + +.\app.exe + +popd