1 # Makefile for Hyper-V tools
3 CC
= $(CROSS_COMPILE
)gcc
4 WARNINGS
= -Wall
-Wextra
5 CFLAGS
= $(WARNINGS
) -g
$(shell getconf LFS_CFLAGS
)
7 CFLAGS
+= -D__EXPORTED_HEADERS__
-I..
/..
/include/uapi
-I..
/..
/include
9 all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
11 $(CC
) $(CFLAGS
) -o
$@
$^
14 $(RM
) hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon