Commit | Line | Data |
---|---|---|
3eb2094c BIP |
1 | # Makefile for Hyper-V tools |
2 | ||
3 | CC = $(CROSS_COMPILE)gcc | |
4 | PTHREAD_LIBS = -lpthread | |
5 | WARNINGS = -Wall -Wextra | |
b4affbbb | 6 | CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) $(shell getconf LFS_CFLAGS) |
3eb2094c | 7 | |
50fe6dd1 KM |
8 | CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include |
9 | ||
ca04455f | 10 | all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon |
3eb2094c BIP |
11 | %: %.c |
12 | $(CC) $(CFLAGS) -o $@ $^ | |
13 | ||
14 | clean: | |
ca04455f | 15 | $(RM) hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon |