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 |
| 4 | PTHREAD_LIBS = -lpthread |
| 5 | WARNINGS = -Wall -Wextra |
Dexuan Cui | b4affbb | 2015-03-18 12:29:26 -0700 | [diff] [blame] | 6 | CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) $(shell getconf LFS_CFLAGS) |
Bjarke Istrup Pedersen | 3eb2094 | 2014-02-09 11:41:52 +0000 | [diff] [blame] | 7 | |
Matej Muzila | ca04455 | 2014-12-28 15:54:13 +0100 | [diff] [blame] | 8 | all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon |
Bjarke Istrup Pedersen | 3eb2094 | 2014-02-09 11:41:52 +0000 | [diff] [blame] | 9 | %: %.c |
| 10 | $(CC) $(CFLAGS) -o $@ $^ |
| 11 | |
| 12 | clean: |
Matej Muzila | ca04455 | 2014-12-28 15:54:13 +0100 | [diff] [blame] | 13 | $(RM) hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon |