Skip to content

Commit

Permalink
upd makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Snawoot committed Feb 28, 2022
1 parent aa0b4e9 commit 1f67ac5
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ native: bin-native
all: bin-linux-amd64 bin-linux-386 bin-linux-arm bin-linux-arm64 \
bin-linux-mips bin-linux-mipsle bin-linux-mips64 bin-linux-mips64le \
bin-freebsd-amd64 bin-freebsd-386 bin-freebsd-arm bin-freebsd-arm64 \
bin-netbsd-amd64 bin-netbsd-386 bin-netbsd-arm bin-netbsd-arm64 \
bin-openbsd-amd64 bin-openbsd-386 bin-openbsd-arm bin-openbsd-arm64 \
bin-darwin-amd64 bin-darwin-arm64 \
bin-windows-amd64 bin-windows-386 bin-windows-arm
bin-windows-amd64 bin-windows-386

allplus: all \
bin-android-arm bin-android-arm64
Expand All @@ -38,10 +37,6 @@ bin-freebsd-amd64: $(OUTSUFFIX).freebsd-amd64
bin-freebsd-386: $(OUTSUFFIX).freebsd-386
bin-freebsd-arm: $(OUTSUFFIX).freebsd-arm
bin-freebsd-arm64: $(OUTSUFFIX).freebsd-arm64
bin-netbsd-amd64: $(OUTSUFFIX).netbsd-amd64
bin-netbsd-386: $(OUTSUFFIX).netbsd-386
bin-netbsd-arm: $(OUTSUFFIX).netbsd-arm
bin-netbsd-arm64: $(OUTSUFFIX).netbsd-arm64
bin-openbsd-amd64: $(OUTSUFFIX).openbsd-amd64
bin-openbsd-386: $(OUTSUFFIX).openbsd-386
bin-openbsd-arm: $(OUTSUFFIX).openbsd-arm
Expand All @@ -50,7 +45,6 @@ bin-darwin-amd64: $(OUTSUFFIX).darwin-amd64
bin-darwin-arm64: $(OUTSUFFIX).darwin-arm64
bin-windows-amd64: $(OUTSUFFIX).windows-amd64.exe
bin-windows-386: $(OUTSUFFIX).windows-386.exe
bin-windows-arm: $(OUTSUFFIX).windows-arm.exe
bin-android-arm: $(OUTSUFFIX).android-arm
bin-android-arm64: $(OUTSUFFIX).android-arm64

Expand Down Expand Up @@ -93,18 +87,6 @@ $(OUTSUFFIX).freebsd-arm: $(src)
$(OUTSUFFIX).freebsd-arm64: $(src)
CGO_ENABLED=0 GOOS=freebsd GOARCH=arm64 $(GO) build $(BUILDOPTS) $(LDFLAGS) -o $@ $(MAIN_PACKAGE)

$(OUTSUFFIX).netbsd-amd64: $(src)
CGO_ENABLED=0 GOOS=netbsd GOARCH=amd64 $(GO) build $(BUILDOPTS) $(LDFLAGS) -o $@ $(MAIN_PACKAGE)

$(OUTSUFFIX).netbsd-386: $(src)
CGO_ENABLED=0 GOOS=netbsd GOARCH=386 $(GO) build $(BUILDOPTS) $(LDFLAGS) -o $@ $(MAIN_PACKAGE)

$(OUTSUFFIX).netbsd-arm: $(src)
CGO_ENABLED=0 GOOS=netbsd GOARCH=arm $(GO) build $(BUILDOPTS) $(LDFLAGS) -o $@ $(MAIN_PACKAGE)

$(OUTSUFFIX).netbsd-arm64: $(src)
CGO_ENABLED=0 GOOS=netbsd GOARCH=arm64 $(GO) build $(BUILDOPTS) $(LDFLAGS) -o $@ $(MAIN_PACKAGE)

$(OUTSUFFIX).openbsd-amd64: $(src)
CGO_ENABLED=0 GOOS=openbsd GOARCH=amd64 $(GO) build $(BUILDOPTS) $(LDFLAGS) -o $@ $(MAIN_PACKAGE)

Expand All @@ -129,9 +111,6 @@ $(OUTSUFFIX).windows-amd64.exe: $(src)
$(OUTSUFFIX).windows-386.exe: $(src)
CGO_ENABLED=0 GOOS=windows GOARCH=386 $(GO) build $(BUILDOPTS) $(LDFLAGS) -o $@ $(MAIN_PACKAGE)

$(OUTSUFFIX).windows-arm.exe: $(src)
CGO_ENABLED=0 GOOS=windows GOARCH=arm GOARM=7 $(GO) build $(BUILDOPTS) $(LDFLAGS) -o $@ $(MAIN_PACKAGE)

$(OUTSUFFIX).android-arm: $(src)
CC=$(NDK_CC_ARM) CGO_ENABLED=1 GOOS=android GOARCH=arm GOARM=7 $(GO) build $(LDFLAGS_NATIVE) -o $@ $(MAIN_PACKAGE)

Expand Down Expand Up @@ -164,10 +143,6 @@ install:
bin-freebsd-386 \
bin-freebsd-arm \
bin-freebsd-arm64 \
bin-netbsd-amd64 \
bin-netbsd-386 \
bin-netbsd-arm \
bin-netbsd-arm64 \
bin-openbsd-amd64 \
bin-openbsd-386 \
bin-openbsd-arm \
Expand All @@ -176,6 +151,5 @@ install:
bin-darwin-arm64 \
bin-windows-amd64 \
bin-windows-386 \
bin-windows-arm \
bin-android-arm \
bin-android-arm64

0 comments on commit 1f67ac5

Please sign in to comment.