From 94c036205a8de18211dbc93b7b1ffd0885704992 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 7 May 2024 09:13:05 +0200 Subject: test compiler w/ hello world --- .gitignore | 1 + 2/test/.gitignore | 1 + 2/test/main.c | 6 ++++++ 2/test/makefile | 1 + 4 files changed, 9 insertions(+) create mode 100644 2/test/.gitignore create mode 100644 2/test/main.c create mode 100644 2/test/makefile diff --git a/.gitignore b/.gitignore index 6248dcc..041846a 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ modules.order Module.symvers .cache compile_commands.json +*.d diff --git a/2/test/.gitignore b/2/test/.gitignore new file mode 100644 index 0000000..ba2906d --- /dev/null +++ b/2/test/.gitignore @@ -0,0 +1 @@ +main diff --git a/2/test/main.c b/2/test/main.c new file mode 100644 index 0000000..04ce434 --- /dev/null +++ b/2/test/main.c @@ -0,0 +1,6 @@ +#include + +int main() { + printf("Hello world!\n"); + return 0; +} diff --git a/2/test/makefile b/2/test/makefile new file mode 100644 index 0000000..cd6a8c6 --- /dev/null +++ b/2/test/makefile @@ -0,0 +1 @@ +main: main.c -- cgit v1.2.3