diff --git a/Makefile b/Makefile index b0d6336..175c2a8 100644 --- a/Makefile +++ b/Makefile @@ -64,9 +64,18 @@ LANCEDB_CGO_LDFLAGS := $(LANCEDB_NATIVE_LIB) $(LANCEDB_SYSTEM_LDFLAGS) .DEFAULT_GOAL := build -.PHONY: dev build release generator enums \ +.PHONY: help dev build release generator enums \ _web-build-spa _web-dev _prepare-dist _lancedb-artifacts _lancedb-check +help: + @echo "Available targets:" + @echo " make dev Start backend and frontend development servers" + @echo " make build Build the current system into dist/" + @echo " make release Build linux/darwin/windows release binaries into dist/" + @echo " make generator Run code generation" + @echo " make enums Generate frontend enums" + @echo " make help Show this help" + dev: _lancedb-check @CGO_ENABLED=1 CGO_CFLAGS="$(LANCEDB_CGO_CFLAGS)" CGO_LDFLAGS="$(LANCEDB_CGO_LDFLAGS)" \ $(GO) run -tags "dev lancedb" $(MAIN) & \ diff --git a/README.md b/README.md index b7ff409..cd56b3b 100644 --- a/README.md +++ b/README.md @@ -191,6 +191,7 @@ make build # build the frontend SPA and current-platform Go binary into dis make release # build linux/darwin/windows release binaries into dist/ make generator # run code generation make enums # generate frontend enums +make help # show available make targets ``` ## AI Agent Workflow