kubectl-plugins/Makefile
2024-06-05 23:24:12 +08:00

32 lines
682 B
Makefile

###################################################
# Makefile for yeahka devtestops platform #########
###################################################
SHELL=/bin/bash
###################################################
APPNAME ?= kubectl-plugins
APPVERSION ?= v0.1.1
PLUGINS=ls
PLUGINS_BUILD=$(foreach plugin, $(PLUGINS), build-${plugin})
PLUGINS_CLEAN=$(foreach plugin, $(PLUGINS), clean-${plugin})
PLUGINS_RELEASE=$(foreach plugin, $(PLUGINS), release-${plugin})
all: release
build: $(PLUGINS_BUILD)
clean: $(PLUGINS_CLEAN)
release: $(PLUGINS_RELEASE)
build-%:
make build -C src/$*/
release-%:
make release -C src/$*/
clean-%:
make clean -C src/$*/