aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c21
-rw-r--r--mkfile8
-rw-r--r--readme.md3
3 files changed, 32 insertions, 0 deletions
diff --git a/main.c b/main.c
new file mode 100644
index 0000000..42c2869
--- /dev/null
+++ b/main.c
@@ -0,0 +1,21 @@
+#include <u.h>
+#include <libc.h>
+#include <thread.h>
+#include <draw.h>
+#include <mouse.h>
+#include <keyboard.h>
+
+void
+usage(void)
+{
+ fprint(2, "usage: %s\n", argv0);
+ exits("usage");
+}
+
+void
+threadmain(int argc, char *argv[])
+{
+ ARGBEGIN{
+ default: usage();
+ }ARGEND;
+}
diff --git a/mkfile b/mkfile
new file mode 100644
index 0000000..28d904b
--- /dev/null
+++ b/mkfile
@@ -0,0 +1,8 @@
+</$objtype/mkfile
+
+BIN=/$objtype/bin
+TARG=puppeteer
+OFILES=\
+ main.$O\
+
+</sys/src/cmd/mkone
diff --git a/readme.md b/readme.md
new file mode 100644
index 0000000..7f51b4a
--- /dev/null
+++ b/readme.md
@@ -0,0 +1,3 @@
+# Puppeteer
+
+A 2D drawing and animation suite.