rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
2 | # Makefile for Hyper-V tools | ||||
3 | |||||
4 | WARNINGS = -Wall -Wextra | ||||
5 | CFLAGS = $(WARNINGS) -g $(shell getconf LFS_CFLAGS) | ||||
6 | |||||
7 | CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include | ||||
8 | |||||
9 | all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon | ||||
10 | %: %.c | ||||
11 | $(CC) $(CFLAGS) -o $@ $^ | ||||
12 | |||||
13 | clean: | ||||
14 | $(RM) hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon |