aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: c177b2e16e2ab9996397d01baaba212c434d70bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.POSIX:
.SUFFIXES:

GO = go
RM = rm
GOFLAGS = -o pipkin
PREFIX = /usr/local

goflags = $(GOFLAGS)

all: pipkin

pipkin:
	$(GO) build $(goflags) -ldflags "-X main.buildPrefix=$(PREFIX)"

clean:
	$(RM) -f pipkin

test:
	$(GO) test -v ./...