Mainflux.mainflux/tools/e2e/Makefile

16 lines
249 B
Makefile

# Copyright (c) Mainflux
# SPDX-License-Identifier: Apache-2.0
PROGRAM = e2e
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)