gowebdav/Makefile
2018-05-16 10:34:42 +02:00

21 lines
276 B
Makefile

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