Files
go-ir-playground/GNUmakefile
Gea-Suan Lin 12df5d0f5e Add news-cna.
2024-02-28 15:19:29 +08:00

21 lines
248 B
Makefile

#
.DEFAULT: all
.PHONY: all clean test
#
DIST?= dist/
GO?= go
#
all:: dist/ir-bm25 dist/ir-tfidf dist/news-cna
@true
dist/%:: cmd/%/* internal/**
"${GO}" build -o "${DIST}" ./cmd/$(notdir $@)
clean::
rm -rf "${DIST}"
test::
go test ./...