summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2015-03-10 22:09:57 +0600
committerDaniil Baturin <daniil@baturin.org>2015-03-10 22:09:57 +0600
commitd95502a897fc2b5ca26d78ea40c32f13f1733311 (patch)
tree77f1c5919921515abf258c4a04285556db818c45 /Makefile
parent773e91c9101fb0b9b956a6b54b0dbff5ceedca38 (diff)
downloadhvinfo-d95502a897fc2b5ca26d78ea40c32f13f1733311.tar.gz
hvinfo-d95502a897fc2b5ca26d78ea40c32f13f1733311.zip
Add a makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..968bd76
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+PREFIX = /usr
+BINDIR = bin/
+
+all: hvinfo
+
+hvinfo:
+ gnatmake src/hvinfo.adb
+
+clean:
+ gnatclean hvinfo hypervisor_check
+
+install:
+ mkdir -p $(PREFIX)/$(BINDIR)
+ cp hvinfo $(PREFIX)/$(BINDIR)