pansharpen IHS

This commit is contained in:
nuknal
2024-05-27 23:01:40 +08:00
parent 106fc37aad
commit 720a3fd855
3 changed files with 51 additions and 13 deletions

11
Makefile Normal file
View File

@@ -0,0 +1,11 @@
.DEFAULT_GOAL := out
export DATE := $(shell date +%Y%m%d-%H:%M:%S)
export COMPILE_LDFLAGS='-s -w -X "main.BuildDate=${DATE}" '
out:
GOOS=darwin GOARCH=arm64 go build -o bin/sjy01-imgproc-darwin-arm64 -ldflags=${COMPILE_LDFLAGS} cmd/*.go
clean:
rm -rf ./bin/*
linux:
GOOS=linux GOARCH=amd64 go build -o bin/sjy01-imgproc -ldflags=${COMPILE_LDFLAGS} cmd/*.go