Mainflux.mainflux/tools/provision/Makefile

15 lines
254 B
Makefile

# Copyright (c) Mainflux
# SPDX-License-Identifier: Apache-2.0
PROGRAM = provision
SOURCES = $(wildcard *.go) cmd/main.go
all: $(PROGRAM)
.PHONY: all clean
$(PROGRAM): $(SOURCES)
go build -ldflags "-s -w" -o $@ cmd/main.go
clean:
rm -rf $(PROGRAM)