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