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

22 lines
359 B
Makefile
Raw Normal View History

2018-12-13 16:33:37 +01:00
.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 ../..