2014-02-09 11:41:52 +00:00
|
|
|
# Makefile for Hyper-V tools
|
|
|
|
|
|
|
|
CC = $(CROSS_COMPILE)gcc
|
|
|
|
PTHREAD_LIBS = -lpthread
|
|
|
|
WARNINGS = -Wall -Wextra
|
2015-03-18 19:29:26 +00:00
|
|
|
CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) $(shell getconf LFS_CFLAGS)
|
2014-02-09 11:41:52 +00:00
|
|
|
|
2016-01-28 06:29:33 +00:00
|
|
|
CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include
|
|
|
|
|
2014-12-28 14:54:13 +00:00
|
|
|
all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
|
2014-02-09 11:41:52 +00:00
|
|
|
%: %.c
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
|
|
|
|
clean:
|
2014-12-28 14:54:13 +00:00
|
|
|
$(RM) hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
|