summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2018-01-02 06:02:45 -0600
committerepoch <epoch@hacking.allowed.org>2018-01-02 06:02:45 -0600
commitecdf070d79d479655f2a75936845a454cbed84b3 (patch)
tree423d8d30a2e90cb751348e5f8d50a57abaee6768 /Makefile
parent44d8f3acca9a236373df1ced55dd9ddaf76e5d2b (diff)
downloadhackvr-ecdf070d79d479655f2a75936845a454cbed84b3.tar.gz
hackvr-ecdf070d79d479655f2a75936845a454cbed84b3.zip
added install and uninstall and a Makefile to the root dir.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5c9dc67
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+all: hackvr hackvr_term
+
+.PHONY: hackvr hackvr_term clean install uninstall all
+
+hackvr:
+ $(MAKE) -C src all
+
+hackvr_term:
+ $(MAKE) -C hackvr_term all
+
+clean:
+ $(MAKE) -C src clean
+ $(MAKE) -C hackvr_term clean
+
+install:
+ $(MAKE) -C src install
+ $(MAKE) -C hackvr_term install
+ install -D font/font.hackvr $(PREFIX)/share/hackvr/font.hackvr
+
+uninstall:
+ $(MAKE) -C src uninstall
+ $(MAKE) -C hackvr_term uninstall