gowebdav/Makefile
Christoph Polcin a224ac9c70 add Makefile
2014-10-23 10:39:47 +02:00

19 lines
291 B
Makefile

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