From 6b4c2cc20877d334a98f0756e649c810b78b92c7 Mon Sep 17 00:00:00 2001 From: mappu Date: Wed, 17 May 2023 17:22:47 +1200 Subject: [PATCH] makefile: remove win32 and src targets --- Makefile | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/Makefile b/Makefile index 6173739..4493946 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,6 @@ all: build/linux64/contented build/win32/contented.exe dist: \ _dist/contented-$(VERSION)-linux64.tar.gz \ - _dist/contented-$(VERSION)-win32.7z \ _dist/contented-$(VERSION)-src.zip clean: @@ -48,26 +47,6 @@ build/linux64/contented: $(SOURCES) staticResources.go go build $(GOFLAGS) -o ../../build/linux64/contented \ ) -build/win32/contented.exe: $(SOURCES) staticResources.go - mkdir -p build/win32 - (cd cmd/contented ; \ - PATH=/usr/lib/mxe/usr/bin:$(PATH) CC=i686-w64-mingw32.static-gcc \ - CGO_ENABLED=1 GOOS=windows GOARCH=386 \ - go build $(GOFLAGS) -o ../../build/win32/contented.exe \ - ) - _dist/contented-$(VERSION)-linux64.tar.gz: build/linux64/contented mkdir -p _dist tar caf _dist/contented-$(VERSION)-linux64.tar.gz -C build/linux64 contented --owner=0 --group=0 - -_dist/contented-$(VERSION)-win32.7z: build/win32/contented.exe - mkdir -p _dist - ( cd build/win32 ; \ - if [ -f dist.7z ] ; then rm dist.7z ; fi ; \ - 7z a dist.7z contented.exe ; \ - mv dist.7z ../../_dist/contented-$(VERSION)-win32.7z \ - ) - -_dist/contented-$(VERSION)-src.zip: $(SOURCES) - git archive HEAD -o _dist/contented-$(VERSION)-src.zip -