xref: /linux/tools/hv/Makefile (revision cf40a76e7d5874bb25f4404eecc58a2e033af885)
1# SPDX-License-Identifier: GPL-2.0
2# Makefile for Hyper-V tools
3
4CC = $(CROSS_COMPILE)gcc
5WARNINGS = -Wall -Wextra
6CFLAGS = $(WARNINGS) -g $(shell getconf LFS_CFLAGS)
7
8CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include
9
10all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
11%: %.c
12	$(CC) $(CFLAGS) -o $@ $^
13
14clean:
15	$(RM) hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
16