aboutsummaryrefslogtreecommitdiffstats
path: root/share/hackvr/examples/clock/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'share/hackvr/examples/clock/Makefile')
-rw-r--r--share/hackvr/examples/clock/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/share/hackvr/examples/clock/Makefile b/share/hackvr/examples/clock/Makefile
new file mode 100644
index 0000000..ea7944a
--- /dev/null
+++ b/share/hackvr/examples/clock/Makefile
@@ -0,0 +1,11 @@
+PREFIX:=/usr/local
+
+.PHONY: all install
+
+hackvr-clock: run.pre generate.py
+ ./generate.py | cat run.pre /dev/stdin > hackvr-clock
+ chmod +x hackvr-clock
+all: hackvr-clock
+
+install: all
+ install -t $(PREFIX)/bin hackvr-clock