gowebdav/Makefile
Christoph Polcin 056ad2c4d5 refactor main
2018-05-16 12:23:42 +02:00

18 lines
209 B
Makefile

BIN := gowebdav
SRC := $(wildcard *.go) cmd/gowebdav/main.go
all: test cmd
cmd: ${BIN}
${BIN}: ${SRC}
go build -o $@ ./cmd/gowebdav
test:
go test ./...
clean:
@rm -f ${BIN}
.PHONY: all cmd clean test