diff options
author | Jordan <me@jordan.im> | 2024-01-21 12:09:39 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2024-01-21 12:09:39 -0700 |
commit | 22a894c813bab20665ed5830e253d967aefb2e8b (patch) | |
tree | 57de00adeb25f18d3888faffab1f97ebace57783 /Makefile | |
download | pipkin-22a894c813bab20665ed5830e253d967aefb2e8b.tar.gz pipkin-22a894c813bab20665ed5830e253d967aefb2e8b.zip |
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c177b2e --- /dev/null +++ b/Makefile @@ -0,0 +1,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 ./... |