Added dependency between ui and rest-gw targets in common Makefile

Change-Id: I0ec901cab15b8f9dc85116b485d3735604cf2649
diff --git a/common/Makefile b/common/Makefile
index e85d92e..c7de42c 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -240,7 +240,7 @@
 	bash $(COMMON_DIR)/wait_for_onboarding_ready.sh $(XOS_BOOTSTRAP_PORT) xos
 	bash $(COMMON_DIR)/wait_for_xos_port.sh $(XOS_UI_PORT)
 
-ui: xos_gui_c
+ui: xos_gui_c rest-gw
 	$(RUN_TOSCA_BOOTSTRAP) $(COMMON_DIR)/tosca/disable-onboarding.yaml
 	$(RUN_TOSCA_BOOTSTRAP) $(CONFIG_DIR)/xos-gui.yaml
 	$(RUN_TOSCA_BOOTSTRAP) $(COMMON_DIR)/tosca/enable-onboarding.yaml