blob: a8ab795569266f6e48550e4fb400d27a6f4c817d [file] [log] [blame]
Bjarke Istrup Pedersen3eb20942014-02-09 11:41:52 +00001# Makefile for Hyper-V tools
2
3CC = $(CROSS_COMPILE)gcc
4PTHREAD_LIBS = -lpthread
5WARNINGS = -Wall -Wextra
Dexuan Cuib4affbb2015-03-18 12:29:26 -07006CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) $(shell getconf LFS_CFLAGS)
Bjarke Istrup Pedersen3eb20942014-02-09 11:41:52 +00007
Matej Muzilaca044552014-12-28 15:54:13 +01008all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
Bjarke Istrup Pedersen3eb20942014-02-09 11:41:52 +00009%: %.c
10 $(CC) $(CFLAGS) -o $@ $^
11
12clean:
Matej Muzilaca044552014-12-28 15:54:13 +010013 $(RM) hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon