1# Makefile for Hyper-V tools 2 3CC = $(CROSS_COMPILE)gcc 4PTHREAD_LIBS = -lpthread 5WARNINGS = -Wall -Wextra 6CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) 7 8all: hv_kvp_daemon hv_vss_daemon 9%: %.c 10 $(CC) $(CFLAGS) -o $@ $^ 11 12clean: 13 $(RM) hv_kvp_daemon hv_vss_daemon 14