diff --git a/Makefile b/Makefile index 10c2c5072ad..c2c8f863be6 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 federation/cmd/ +# +# Example: +# make federation-apiserver federation-controller-manager +.PHONY: $(notdir $(abspath $(wildcard federation/cmd/*/))) +$(notdir $(abspath $(wildcard federation/cmd/*/))): generated_files + hack/make-rules/build.sh federation/cmd/$@ + # Produce auto-generated files needed for the build. # # Example: