github.phpd.cn/cilium/cilium@v1.6.12/cilium-health/responder/Makefile (about) 1 include ../../Makefile.defs 2 3 TARGET=cilium-health-responder 4 SOURCES := $(shell find ../../pkg/health/probe/responder . \( -name '*.go' ! -name '*_test.go' \)) 5 $(TARGET): $(SOURCES) 6 @$(ECHO_GO) 7 $(QUIET)$(GO) build $(GOBUILD) -o $(TARGET) 8 9 all: $(TARGET) 10 11 clean: 12 @$(ECHO_CLEAN) 13 -$(QUIET)rm -f $(TARGET) 14 $(QUIET)$(GO) clean 15 16 install: 17 $(INSTALL) -m 0755 -d $(DESTDIR)$(BINDIR) 18 $(INSTALL) -m 0755 $(TARGET) $(DESTDIR)$(BINDIR)