Add Makefile to OOM project

Executing 'make' provides:
- linting of all charts
- resolution of chart/subchart dependencies
- creation and deployment of Helm packages to a local Helm repo

Prerequisite:
  Start up a local repo and register with Helm as 'local'.

  Example:
  > helm serve
  > helm repo add local http://127.0.0.1:8879

Change-Id: Ie08e8fc2593ac7e67b01f93e266953b962adef5d
Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
Issue-ID: OOM-265
diff --git a/kubernetes/common/Makefile b/kubernetes/common/Makefile
new file mode 100644
index 0000000..1900f31
--- /dev/null
+++ b/kubernetes/common/Makefile
@@ -0,0 +1,25 @@
+EXCLUDES := test
+HELM_CHARTS := $(filter-out $(EXCLUDES), $(patsubst %/.,%,$(wildcard */.)))
+
+.PHONY: $(EXCLUDES) $(HELM_CHARTS)
+
+all: $(HELM_CHARTS)
+
+$(HELM_CHARTS):
+	@echo "\n[$@]"
+	@make lint-$@
+
+make-%:
+	@if [ -f $*/Makefile ]; then make -C $*; fi
+
+dep-%: make-%
+	@if [ -f $*/requirements.yaml ]; then helm dep up $*; fi
+
+lint-%: dep-%
+	@if [ -f $*/Chart.yaml ]; then helm lint $*; fi
+
+clean:
+	@rm -f */requirements.lock
+	@rm -f *tgz */charts/*tgz
+%:
+	@:
\ No newline at end of file