From 7d6705abb1f1aabaf7e5fb9dd9f2da843ce1ad6a Mon Sep 17 00:00:00 2001 From: Onkel Mo Date: Sat, 25 Apr 2026 11:03:40 +0200 Subject: chore: init Initialises the project. --- .gitignore | 2 ++ Makefile | 10 ++++++++++ wok.c | 5 +++++ 3 files changed, 17 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 wok.c diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ffef261 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.o +wok diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6bbeea8 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +all: wok + +wok: wok.o + clang wok.o -o wok + +wok.o: wok.c + clang -c wok.c -o wok.o + +clean: + rm -rf *.o diff --git a/wok.c b/wok.c new file mode 100644 index 0000000..95485db --- /dev/null +++ b/wok.c @@ -0,0 +1,5 @@ +int +main(void) +{ + return 0; +} -- cgit v1.2.3