Adding a new parent Makefile 17/41017/2
authorKiran Kamineni <kiran.k.kamineni@intel.com>
Wed, 4 Apr 2018 18:41:40 +0000 (11:41 -0700)
committerGirish Havaldar <hg0071052@techmahindra.com>
Thu, 5 Apr 2018 04:24:24 +0000 (04:24 +0000)
This patch adds a new parent Makefile that will be called
by the jenkins job once the smsquorum code also comes under
this GOPATH

Issue-ID: AAF-213
Change-Id: I50d5f72b91455c501505130fbbf41ba245f1800a
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
sms-service/src/Makefile [new file with mode: 0644]
sms-service/src/sms/Makefile

diff --git a/sms-service/src/Makefile b/sms-service/src/Makefile
new file mode 100644 (file)
index 0000000..4091a3e
--- /dev/null
@@ -0,0 +1,5 @@
+build:
+       $(MAKE) -C sms build
+
+deploy:
+       $(MAKE) -C sms deploy
\ No newline at end of file
index 25c12e1..a0add45 100644 (file)
@@ -1,4 +1,4 @@
-GOPATH := $(shell realpath "$(PWD)/../../")
+GOPATH := $(shell realpath "$(CURDIR)/../../")
 BINARY := sms
 PLATFORM := linux
 DEPENDENCIES := github.com/golang/dep/cmd/dep