Adding a 'Hello, World!' example using stdlib and a new build
[vvhitespace] / examples / hello-world / Makefile
diff --git a/examples/hello-world/Makefile b/examples/hello-world/Makefile
new file mode 100644 (file)
index 0000000..32f38a7
--- /dev/null
@@ -0,0 +1,15 @@
+# (c) 2019 Aaron Taylor <ataylor at subgeniuskitty dot com>
+# All rights reserved.
+
+include ../config.mk
+
+all: hello
+
+hello:
+       $(VVS_COMPILER) -i hello.pvvs -o hello.vvs
+
+run:
+       $(VVS_INTERPRETER) -i hello.vvs
+
+clean:
+       @rm -f hello.vvs