Makefile 315 B

1234567891011121314
  1. # Makefile for Hyper-V tools
  2. CC = $(CROSS_COMPILE)gcc
  3. PTHREAD_LIBS = -lpthread
  4. WARNINGS = -Wall -Wextra
  5. CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) $(shell getconf LFS_CFLAGS)
  6. all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
  7. %: %.c
  8. $(CC) $(CFLAGS) -o $@ $^
  9. clean:
  10. $(RM) hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon