Add night checking and clean up Makefile

This commit is contained in:
2025-10-31 13:14:58 -04:00
parent 9eb48dca82
commit 364961a847
4 changed files with 23 additions and 3 deletions

View File

@ -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: