Skip to content

Commit

Permalink
Add the Makefile for easy compile
Browse files Browse the repository at this point in the history
Add the Makefile to combine the build command together,
Easy compile process to manule input compile command

Signed-off-by: Yanbo Li <[email protected]>
  • Loading branch information
dreamfly281 committed Nov 28, 2016
1 parent df90282 commit 9071c8d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
GOFMT=gofmt
GC=go build

all:
$(GC) main.go
format:
$(GOFMT) -w main.go

clean:
rm -rf *.8 *.o *.out *.6

0 comments on commit 9071c8d

Please sign in to comment.