From 6e21966737ed65705b06622f8c18e74f0dfe9eb1 Mon Sep 17 00:00:00 2001 From: Matthew Rich Date: Wed, 27 Mar 2024 13:46:17 -0700 Subject: [PATCH] add basic build steps --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e30f11c --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +LDFLAGS?=--ldflags '-extldflags "-static"' +export CGO_ENABLED=0 + +build: decl + +decl: + go build -o decl $(LDFLAGS) ./cmd/cli/main.go