go-omaha/Makefile
Vincent Batts 23a85a16c1
*: switch from glide to go mod
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2020-09-24 14:55:40 -04:00

24 lines
351 B
Makefile

# kernel-style V=1 build verbosity
ifeq ("$(origin V)", "command line")
BUILD_VERBOSE = $(V)
endif
ifeq ($(BUILD_VERBOSE),1)
Q =
else
Q = @
endif
.PHONY: all
all: bin/serve-package
bin/serve-package:
$(Q)go build -o $@ cmd/serve-package/main.go
.PHONY: clean
clean:
$(Q)rm -rf bin
.PHONY: vendor
vendor:
$(Q)go mod vendor