Add makefile

This commit is contained in:
Martin Polden 2012-11-25 14:49:16 +01:00
parent 0b2a970291
commit a3a2b08ba8
1 changed files with 12 additions and 0 deletions

12
Makefile Normal file
View File

@ -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