owl/Makefile
Thomas Lindop 50d7189654 >> First commit
> make project outline
> tests are definitely wrong
> may need to rewrite arg parsing
2025-05-08 18:54:23 +01:00

8 lines
257 B
Makefile

SOURCES=*.go
LINKER_FLAGS=-X main.OwlVersion=`git describe --tags --dirty`
owl: ${SOURCES}
go build -o owl -ldflags "${LINKER_FLAGS}" -- ${SOURCES}
owl.1: man.md
pandoc -s --shift-heading-level-by=-1 --to=man man.md > owl.1
build: owl owl.1
.PHONY: build