From 9071c8d0917ce52a7d08e1b77cc33a6265cf609f Mon Sep 17 00:00:00 2001 From: Yanbo Li Date: Mon, 28 Nov 2016 15:26:40 +0800 Subject: [PATCH] Add the Makefile for easy compile Add the Makefile to combine the build command together, Easy compile process to manule input compile command Signed-off-by: Yanbo Li --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..527cea1b --- /dev/null +++ b/Makefile @@ -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