From 696c58106f8035310ed39a0f3ddeaf9fce9575ea Mon Sep 17 00:00:00 2001 From: Denys Vitali Date: Fri, 18 Nov 2022 11:16:56 +0100 Subject: [PATCH] build: add Makefile --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..32e6e67 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +BINARY_NAME=tesla-firmware-decrypt + +build: + go build -o "build/$(BINARY_NAME)" "./cmd/$(BINARY_NAME)/" + +install: + cp "build/$(BINARY_NAME)" "$$GOPATH/bin/$(BINARY_NAME)" \ No newline at end of file