From bc856202d45e117d4f5f5006be2d2387e6799e6a Mon Sep 17 00:00:00 2001 From: epoch Date: Sat, 19 Dec 2020 03:49:28 -0600 Subject: changed how the clock example works so it can work stand-alone and be make install'd and used easier by other scripts --- share/hackvr/examples/clock/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 share/hackvr/examples/clock/Makefile (limited to 'share/hackvr/examples/clock/Makefile') 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 -- cgit v1.2.3