This commit is contained in:
Martin Polden
2014-12-22 00:19:29 +01:00
parent 959c0a8360
commit e16e9a7aa9
6 changed files with 20 additions and 26 deletions

View File

@ -1,15 +1,13 @@
TARGET = ifconfig
NAME = ifconfig
all: install
clean:
rm -f -- $(TARGET)
all: test build
fmt:
gofmt -w=true *.go
install:
go build $(TARGET).go
build:
@mkdir bin
go build -o bin/$(NAME)
test:
go test