aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-07 09:13:05 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-07 09:13:05 +0200
commit94c036205a8de18211dbc93b7b1ffd0885704992 (patch)
tree950358ba64701ed8646c8f5b3dd9be266b105152
parentad1530eff2904023ffa758ac8741c8f0cd4b4caf (diff)
test compiler w/ hello world
-rw-r--r--.gitignore1
-rw-r--r--2/test/.gitignore1
-rw-r--r--2/test/main.c6
-rw-r--r--2/test/makefile1
4 files changed, 9 insertions, 0 deletions
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 <stdio.h>
+
+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