Skip to content

Commit

Permalink
Add makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
h3poteto committed Apr 27, 2018
1 parent c67030e commit db287a9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.PHONY: all dep build

OUTPUT = ecs-goploy

all: build

dep: Gopkg.lock
dep ensure

build: dep
go build -o ${OUTPUT} -a -tags netgo -installsuffix netgo --ldflags '-extldflags "-static"'

0 comments on commit db287a9

Please sign in to comment.