2014-02-09 19:41:52 +08:00
|
|
|
# Makefile for Hyper-V tools
|
|
|
|
|
|
|
|
CC = $(CROSS_COMPILE)gcc
|
|
|
|
PTHREAD_LIBS = -lpthread
|
|
|
|
WARNINGS = -Wall -Wextra
|
|
|
|
CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS)
|
|
|
|
|
2014-12-28 22:54:13 +08:00
|
|
|
all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
|
2014-02-09 19:41:52 +08:00
|
|
|
%: %.c
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
|
|
|
|
clean:
|
2014-12-28 22:54:13 +08:00
|
|
|
$(RM) hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
|