From 6ad631b278029d3159d847d7b9be65955b5e0024 Mon Sep 17 00:00:00 2001 From: xiangpengzhao Date: Thu, 28 Jul 2016 05:33:30 -0400 Subject: [PATCH] Add rules for all directories in plugin/cmd/ --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index c2c8f863be6..92dd5580157 100644 --- a/Makefile +++ b/Makefile @@ -250,6 +250,14 @@ cross: $(notdir $(abspath $(wildcard cmd/*/))): generated_files hack/make-rules/build.sh cmd/$@ +# Add rules for all directories in plugin/cmd/ +# +# Example: +# make kube-scheduler +.PHONY: $(notdir $(abspath $(wildcard plugin/cmd/*/))) +$(notdir $(abspath $(wildcard plugin/cmd/*/))): generated_files + hack/make-rules/build.sh plugin/cmd/$@ + # Add rules for all directories in federation/cmd/ # # Example: