aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: ce6ef7e4ba4d1c052dbbede43cb57f12e9abf6b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
GEN = $(addsuffix _gen.go, cover interior pkgid ship)
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