Skip to content

Commit

Permalink
Fix Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
godsarmy committed Jan 5, 2025
1 parent e5034b0 commit 894f9fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,21 @@ GO ?= go
ifndef GOOS
ifeq ($(OS), Windows_NT)
GOOS := windows
GOEXT := .exe
else
GOOS := $(shell uname -s| tr '[:upper:]' '[:lower:]')
GOEXT :=
endif
endif

ifndef GOARCH
MACHINE=$(shell uname -m)
ifeq ($(MACHINE), x86_64)
GOARCH := amd64
GOEXT :=
else ifeq ($(MACHINE), i386)
GOARCH := i386
GOEXT :=
else ifeq ($(MACHINE), arm)
GOARCH := arm64
GOEXT := .exe
endif
endif
# Set build targets based on OS
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0
0.1.1

0 comments on commit 894f9fc

Please sign in to comment.