Sam
4cf19ebf78
All checks were successful
continuous-integration/drone/push Build is passing
I need to make fewer of these :) Reviewed-on: #61
14 lines
No EOL
345 B
Makefile
14 lines
No EOL
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 |