gowebdav/Makefile
Christoph Polcin d002be5074 add utils_test
2014-10-23 11:15:28 +02:00

22 lines
330 B
Makefile

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