7 lines
141 B
Makefile
7 lines
141 B
Makefile
%: %.go
|
|
mkdir -p build/
|
|
docker run --rm -it -v $(shell pwd):/go/src/ -w /go/src golang:1.11 go build -o build/$@ $<
|
|
|
|
clean:
|
|
rm -rf build/
|