From 3ccd3d777d4f7ae7536fb2d19f7f49d6cbf1c01e Mon Sep 17 00:00:00 2001 From: bebbo Date: Wed, 3 Oct 2018 20:10:13 +0200 Subject: [PATCH] automate building windows setup --- setup/cmdline.bat | 10 ++++++++++ setup/hello.c | 6 ++++++ icon.ico => setup/icon.ico | Bin setup2.iss => setup/setup2.iss | 0 4 files changed, 16 insertions(+) create mode 100644 setup/cmdline.bat create mode 100644 setup/hello.c rename icon.ico => setup/icon.ico (100%) rename setup2.iss => setup/setup2.iss (100%) diff --git a/setup/cmdline.bat b/setup/cmdline.bat new file mode 100644 index 0000000..f9f7734 --- /dev/null +++ b/setup/cmdline.bat @@ -0,0 +1,10 @@ +@for /f %%i in ('cd') do @path %path%;%%i\bin + +@echo ******************************************************************************* +@echo * Welcome to amiga-gcc * +@echo ******************************************************************************* +@dir bin\*.exe /w + +m68k-amigaos-gcc hello.c -o hello -Os -noixemul + +@cmd /k \ No newline at end of file diff --git a/setup/hello.c b/setup/hello.c new file mode 100644 index 0000000..b653286 --- /dev/null +++ b/setup/hello.c @@ -0,0 +1,6 @@ +#include + +int main(int argc, char ** argv) { + printf("hello world - with %d args\n", argc); + return 0; +} \ No newline at end of file diff --git a/icon.ico b/setup/icon.ico similarity index 100% rename from icon.ico rename to setup/icon.ico diff --git a/setup2.iss b/setup/setup2.iss similarity index 100% rename from setup2.iss rename to setup/setup2.iss