-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (16 loc) · 648 Bytes
/
Makefile
File metadata and controls
23 lines (16 loc) · 648 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# ----------------------------------------------------------------------------
# global
.DEFAULT_GOAL = static
APP = kt
CMD_PREFIX = $(PKG)/cmd/
CMD = $(CMD_PREFIX)$(APP)
# ----------------------------------------------------------------------------
# target
.PHONY: all
all: mod pkg/install static
# ----------------------------------------------------------------------------
# include
include hack/make/go.mk
# ----------------------------------------------------------------------------
# overlays
override GO_PKGS := $(shell go list ${GO_MOD_FLAGS} -f '{{if and (or .GoFiles .CgoFiles) (ne .Name "main")}}{{.ImportPath}}{{end}}' ./...)