1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-05-14 19:29:11 +08:00

24 lines
423 B
Makefile
Raw Normal View History

BUILD_DIR=build
all: manager http writer coap
.PHONY: all manager http writer coap
manager:
go build -o ${BUILD_DIR}/mainflux-manager cmd/manager/main.go
http:
go build -o ${BUILD_DIR}/mainflux-http cmd/http/main.go
writer:
go build -o ${BUILD_DIR}/mainflux-writer cmd/writer/main.go
coap:
go build -o ${BUILD_DIR}/mainflux-coap cmd/coap/main.go
clean:
rm -rf ${BUILD_DIR}
install:
cp ${BUILD_DIR}/* $(GOBIN)