Add wcloud Makefile

This commit is contained in:
Tom Wilkie
2016-08-25 10:49:29 +02:00
parent ef559010df
commit 9cbab402fb
3 changed files with 13 additions and 1 deletions

1
.gitignore vendored
View File

@@ -2,5 +2,6 @@ cover/cover
socks/proxy
socks/image.tar
runner/runner
cmd/wcloud/wcloud
*.pyc
*~

View File

@@ -20,5 +20,5 @@ test:
- cd $SRCDIR/cover; make
- cd $SRCDIR/socks; make
- cd $SRCDIR/runner; make
- go build ./cmd/wcloud
- cd $SRCDIR/cmd/wcloud; make

11
cmd/wcloud/Makefile Normal file
View File

@@ -0,0 +1,11 @@
.PHONY: all clean
all: wcloud
wcloud: *.go
go get ./$(@D)
go build -o $@ ./$(@D)
clean:
rm -rf wcloud
go clean ./...