From a3a2b08ba814cdfa30ce3969989aa740394157a9 Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Sun, 25 Nov 2012 14:49:16 +0100 Subject: [PATCH] Add makefile --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2509b8e --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +TARGET = ifconfig + +all: install + +clean: + rm -f -- $(TARGET) + +fmt: + gofmt -tabs=false -tabwidth=4 -w=true $(TARGET).go + +install: + go build $(TARGET).go