pansharpen IHS
This commit is contained in:
11
Makefile
Normal file
11
Makefile
Normal 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
|
||||
Reference in New Issue
Block a user