summaryrefslogtreecommitdiff
path: root/tools/hv/Makefile
diff options
context:
space:
mode:
authorBjarke Istrup Pedersen <gurligebis@gentoo.org>2014-02-09 15:41:52 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-15 23:52:35 +0400
commit3eb2094c59e89db2bedd401e23c7a870081c9edb (patch)
tree969814179eedd4eb8361f45d37b712bcee89d9cb /tools/hv/Makefile
parenta7155f4e2252be167fa69468e11b19a3fac5e625 (diff)
downloadlinux-3eb2094c59e89db2bedd401e23c7a870081c9edb.tar.xz
Adding makefile for tools/hv
Currently, there is no makefile for the Hyper-V tools. This patch adds the missing makefile, and adds it to the main tools makefile. Signed-off-by: Bjarke Istrup Pedersen <gurligebis@gentoo.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/hv/Makefile')
-rw-r--r--tools/hv/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/hv/Makefile b/tools/hv/Makefile
new file mode 100644
index 000000000000..bd22f786a60c
--- /dev/null
+++ b/tools/hv/Makefile
@@ -0,0 +1,13 @@
+# Makefile for Hyper-V tools
+
+CC = $(CROSS_COMPILE)gcc
+PTHREAD_LIBS = -lpthread
+WARNINGS = -Wall -Wextra
+CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS)
+
+all: hv_kvp_daemon hv_vss_daemon
+%: %.c
+ $(CC) $(CFLAGS) -o $@ $^
+
+clean:
+ $(RM) hv_kvp_daemon hv_vss_daemon