github.com/rkt/rkt@v1.30.1-0.20200224141603-171c416fac02/tools/cleangentool.mk (about) 1 $(call setup-stamp-file,CLEANGENTOOL_STAMP) 2 3 # variables for makelib/build_go_bin.mk 4 BGB_STAMP := $(CLEANGENTOOL_STAMP) 5 BGB_PKG_IN_REPO := tools/cleangen 6 BGB_BINARY := $(CLEANGENTOOL) 7 BGB_ADDITIONAL_GO_ENV := GOARCH=$(GOARCH_FOR_BUILD) 8 9 CLEAN_FILES += $(CLEANGENTOOL) 10 11 $(call generate-stamp-rule,$(CLEANGENTOOL_STAMP)) 12 13 $(CLEANGENTOOL): $(MK_PATH) | $(TOOLSDIR) 14 15 include makelib/build_go_bin.mk 16 17 # CLEANGENTOOL_STAMP deliberately not cleared