summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile10
-rw-r--r--wok.c5
3 files changed, 17 insertions, 0 deletions
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;
+}