Add night checking and clean up Makefile
This commit is contained in:
4
Makefile
4
Makefile
@ -18,7 +18,9 @@ install-macos:
|
||||
|
||||
# Build for the host system
|
||||
build:
|
||||
go build -o build/$(BINARY_NAME) .
|
||||
export CGO_CPPFLAGS="$(pkg-config --cflags opencv4)"
|
||||
export CGO_LDFLAGS="$(pkg-config --libs opencv4 | sed 's/-lopencv_hdf//g' | sed 's/-lopencv_viz//g')"
|
||||
go build -tags customenv -o build/$(BINARY_NAME) .
|
||||
|
||||
# Cross-compile for macOS ARM64
|
||||
build-macos-arm64:
|
||||
|
||||
Reference in New Issue
Block a user