2014-02-09 04:41:52 -07:00
|
|
|
# Makefile for Hyper-V tools
|
|
|
|
|
|
|
|
CC = $(CROSS_COMPILE)gcc
|
|
|
|
PTHREAD_LIBS = -lpthread
|
|
|
|
WARNINGS = -Wall -Wextra
|
2015-03-18 13:29:26 -06:00
|
|
|
CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) $(shell getconf LFS_CFLAGS)
|
2014-02-09 04:41:52 -07:00
|
|
|
|
2014-12-28 07:54:13 -07:00
|
|
|
all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
|
2014-02-09 04:41:52 -07:00
|
|
|
%: %.c
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
|
|
|
|
clean:
|
2014-12-28 07:54:13 -07:00
|
|
|
$(RM) hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
|