build: add sample makefile for cmd/gopngquant
This commit is contained in:
parent
2d513a1a66
commit
b55dc7fd07
10
cmd/gopngquant/Makefile.cygwin
Normal file
10
cmd/gopngquant/Makefile.cygwin
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
.PHONY: all clean
|
||||||
|
|
||||||
|
all: gopngquant.exe
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm ./gopngquant.exe || true
|
||||||
|
|
||||||
|
gopngquant.exe: main.go
|
||||||
|
( source ~/.cygwin-toolchain-switcher/use-toolchain-x86_64-w64-mingw32.sh && go build -a -ldflags '-s -w' )
|
Loading…
Reference in New Issue
Block a user