awl/Makefile
Sam Therapy 4cf19ebf78
All checks were successful
continuous-integration/drone/push Build is passing
Another "minor refactor" (#61)
I need to make fewer of these :)
Reviewed-on: #61
2022-08-11 07:25:36 +00:00

14 lines
345 B
Makefile

# SPDX-License-Identifier: BSD-3-Clause
# BSD/POSIX makefile
include template.mk
$(PROG): $(SOURCES)
$(GO) build -o $(PROG) $(GOFLAGS) .
## install: installs awl and the manpage, RUN AS ROOT
install: all
install -Dm755 $(PROG) $(DESTDIR)$(PREFIX)/$(BIN)/$(PROG)
install -Dm644 doc/$(PROG).1 $(DESTDIR)$(MAN)/man1/$(PROG).1
.PHONY: install