From 22a894c813bab20665ed5830e253d967aefb2e8b Mon Sep 17 00:00:00 2001 From: Jordan Date: Sun, 21 Jan 2024 12:09:39 -0700 Subject: initial commit --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 ./... -- cgit v1.2.3-54-g00ecf