18 lines
209 B
Makefile
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
|