]> git.hoodedatlarge.com Git - hello.git/commitdiff
initial commit main
authorhoodedatlarge <>
Thu, 24 Sep 2026 19:54:58 +0000 (15:54 -0400)
committerhoodedatlarge <>
Thu, 24 Sep 2026 19:54:58 +0000 (15:54 -0400)
.gitignore [new file with mode: 0644]
GNUmakefile [new file with mode: 0644]
main.c [new file with mode: 0644]
readme.txt [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..ce01362
--- /dev/null
@@ -0,0 +1 @@
+hello
diff --git a/GNUmakefile b/GNUmakefile
new file mode 100644 (file)
index 0000000..2f00413
--- /dev/null
@@ -0,0 +1,7 @@
+hello: main.c
+       $(CC) $(CFLAGS) -o $@ $<
+
+clean:
+       rm -f hello
+
+.PHONY: clean
diff --git a/main.c b/main.c
new file mode 100644 (file)
index 0000000..b1360b9
--- /dev/null
+++ b/main.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+int
+main(void) {
+       puts("hello, world");
+       return 0;
+}
diff --git a/readme.txt b/readme.txt
new file mode 100644 (file)
index 0000000..8cfdf9a
--- /dev/null
@@ -0,0 +1 @@
+A "hello, world" program written in C.