Bjarke Istrup Pedersen | 3eb2094 | 2014-02-09 11:41:52 +0000 | [diff] [blame] | 1 | # Makefile for Hyper-V tools |
| 2 | |
| 3 | CC = $(CROSS_COMPILE)gcc |
Bjarke Istrup Pedersen | 3eb2094 | 2014-02-09 11:41:52 +0000 | [diff] [blame] | 4 | WARNINGS = -Wall -Wextra |
Weibing Zhang | 822114a | 2016-11-06 13:14:13 -0800 | [diff] [blame] | 5 | CFLAGS = $(WARNINGS) -g $(shell getconf LFS_CFLAGS) |
Bjarke Istrup Pedersen | 3eb2094 | 2014-02-09 11:41:52 +0000 | [diff] [blame] | 6 | |
Kamal Mostafa | 50fe6dd | 2016-01-27 22:29:33 -0800 | [diff] [blame] | 7 | CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include |
| 8 | |
Matej Muzila | ca04455 | 2014-12-28 15:54:13 +0100 | [diff] [blame] | 9 | all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon |
Bjarke Istrup Pedersen | 3eb2094 | 2014-02-09 11:41:52 +0000 | [diff] [blame] | 10 | %: %.c |
| 11 | $(CC) $(CFLAGS) -o $@ $^ |
| 12 | |
| 13 | clean: |
Matej Muzila | ca04455 | 2014-12-28 15:54:13 +0100 | [diff] [blame] | 14 | $(RM) hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon |