aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 59689efe531e1e2a0d3faf3cfc8ff4a7a1d05a90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
GEN = $(addsuffix _gen.go, cover interior pkgid)
TEST = $(wildcard *_test.go)
SRC = $(filter-out ${GEN} ${TEST}, $(wildcard *.go))

build: ${SRC} ${GEN}
	go build

${GEN}: ${SRC}
	go generate

clean:
	rm -f ${GEN}

.PHONY: build clean