X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=Makefile;h=916b13365224e8fcb19e01cf8f03d6b369016af2;hb=6aa0d4b8cdda11c7ee218f0f3cc1013dd18ab056;hp=29a33a824ee3f58cd14f5af69510c3c9232594c4;hpb=8f41ac456fc92a9ec333579498e9933d73404905;p=src%2Fxds%2Fxds-server.git diff --git a/Makefile b/Makefile index 29a33a8..916b133 100644 --- a/Makefile +++ b/Makefile @@ -82,9 +82,9 @@ endif all: tools/syncthing build .PHONY: build -build: xds webapp +build: vendor xds webapp -xds:vendor scripts tools/syncthing/copytobin +xds: scripts tools/syncthing/copytobin @echo "### Build XDS server (version $(VERSION), subversion $(SUB_VERSION))"; @cd $(ROOT_SRCDIR); $(BUILD_ENV_FLAGS) go build $(VERBOSE_$(V)) -i -o $(LOCAL_BINDIR)/xds-server$(EXT) -ldflags "$(GORELEASE) -X main.AppVersion=$(VERSION) -X main.AppSubVersion=$(SUB_VERSION)" .