blob: 7cdbd93984e07a2d39d0759d137de6b9a0bd2c4d (
plain) (
tree)
|
|
BINARY=neko
VERSION=0.2
BUILD=`git rev-parse HEAD`
LDFLAGS=-ldflags "-X main.Version=${VERSION} -X main.Build=${BUILD}"
SOURCES = $(wildcard *.go) $(wildcard */*.go)
BINARIES = nekoweb nekocrawl
default: build
all: clean build_all
build:
go build ${LDFLAGS} -o ${BINARY}
install:
go install
docs:
ghmarkdown README.md > readme.html
|