gowebdav/Makefile

21 lines
276 B
Makefile
Raw Normal View History

2014-10-23 10:39:47 +02:00
SRC := $(wildcard *.go) main/client.go
BIN := bin
CLIENT := ${BIN}/client
2014-10-23 11:15:28 +02:00
all: test client
2014-10-23 10:39:47 +02:00
client: ${CLIENT}
${CLIENT}: ${SRC}
@echo build $@
2017-10-05 16:07:12 +02:00
go build -o $@ -- main/client.go
2014-10-23 10:39:47 +02:00
2014-10-23 11:15:28 +02:00
test:
2017-10-05 16:07:12 +02:00
go test
2014-10-23 11:15:28 +02:00
2014-10-23 10:39:47 +02:00
clean:
@echo clean ${BIN}
@rm -f ${BIN}/*
.PHONY: all client clean