build: add sample makefile for cmd/gopngquant

This commit is contained in:
mappu 2016-11-24 21:02:08 +13:00
parent 2d513a1a66
commit b55dc7fd07

View 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' )