blob: 31503819454d8debc3484792bf404c34924ee74e [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Bjarke Istrup Pedersen3eb20942014-02-09 11:41:52 +00002# Makefile for Hyper-V tools
3
4CC = $(CROSS_COMPILE)gcc
Bjarke Istrup Pedersen3eb20942014-02-09 11:41:52 +00005WARNINGS = -Wall -Wextra
Weibing Zhang822114a2016-11-06 13:14:13 -08006CFLAGS = $(WARNINGS) -g $(shell getconf LFS_CFLAGS)
Bjarke Istrup Pedersen3eb20942014-02-09 11:41:52 +00007
Kamal Mostafa50fe6dd2016-01-27 22:29:33 -08008CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include
9
Matej Muzilaca044552014-12-28 15:54:13 +010010all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
Bjarke Istrup Pedersen3eb20942014-02-09 11:41:52 +000011%: %.c
12 $(CC) $(CFLAGS) -o $@ $^
13
14clean:
Matej Muzilaca044552014-12-28 15:54:13 +010015 $(RM) hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon