1
0
mirror of https://github.com/cmur2/miflorad.git synced 2024-12-22 12:54:25 +01:00
miflorad/Makefile
2018-12-22 13:56:45 +01:00

22 lines
359 B
Makefile

.POSIX:
.PHONY: all
all: clean build test
.PHONY: run
run: clean build test
sudo cmd/munin-miflora/munin-miflora xyz 00:00:00:00:00:00
.PHONY: clean
clean:
rm -f cmd/munin-miflora/munin-miflora
.PHONY: build
build: cmd/munin-miflora/munin-miflora
.PHONY: test
test: build
cmd/munin-miflora/munin-miflora:
cd cmd/munin-miflora && go build && cd ../..