awl/Makefile
Sam Therapy baaa41d60f
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
make makefile compatible with AUR
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-08-06 02:51:05 +02:00

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