neofeels/Makefile

22 lines
358 B
Makefile
Raw Normal View History

2025-01-05 16:54:08 +00:00
GO ?= go
RM ?= rm
SCDOC ?= scdoc
all: neofeels doc
neofeels:
$(GO) build $(GOFLAGS) .
# ifeq (, $(shell which $(SCDOC) 2>/dev/null))
# $(warning "$(SCDOC) not found, skipping building documentation")
doc:
# else
# doc: doc/neofeels.1
# $(SCDOC) < doc/neofeels.1.scd > doc/neofeels.1
clean:
rm neofeels doc/neofeels.1
.PHONY: all neofeels doc clean