1 # Makefile for Hyper-V tools
3 CC
= $(CROSS_COMPILE
)gcc
4 PTHREAD_LIBS
= -lpthread
5 WARNINGS
= -Wall
-Wextra
6 CFLAGS
= $(WARNINGS
) -g
$(PTHREAD_LIBS
) $(shell getconf LFS_CFLAGS
)
8 CFLAGS
+= -D__EXPORTED_HEADERS__
-I..
/..
/include/uapi
-I..
/..
/include
10 all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
12 $(CC
) $(CFLAGS
) -o
$@
$^
15 $(RM
) hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon