Skip to content

Instantly share code, notes, and snippets.

@dim13 dim13/Go Makefile
Created Sep 8, 2017

Embed
What would you like to do?
DEPS=$(shell go list -f '{{join .Deps " "}}' .)
SRCS=$(shell go list -f '{{range .GoFiles}}{{$$.Dir}}/{{.}} {{end}}' ${DEPS} .)
app: ${SRCS}
go build -o $@ .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.