29 lines
415 B
Makefile
29 lines
415 B
Makefile
|
.POSIX:
|
||
|
.SUFFIXES:
|
||
|
HARE=hare
|
||
|
HAREFLAGS=
|
||
|
|
||
|
DESTDIR=
|
||
|
PREFIX=/usr/local
|
||
|
SRCDIR=$(PREFIX)/src
|
||
|
HARESRCDIR=$(SRCDIR)/hare
|
||
|
THIRDPARTYDIR=$(HARESRCDIR)/third-party
|
||
|
|
||
|
all:
|
||
|
# no-op
|
||
|
|
||
|
clean:
|
||
|
# no-op
|
||
|
|
||
|
check:
|
||
|
hare test
|
||
|
|
||
|
install:
|
||
|
mkdir -p $(DESTDIR)$(THIRDPARTYDIR)/harena
|
||
|
install -m644 harena/* $(DESTDIR)$(THIRDPARTYDIR)/harena
|
||
|
|
||
|
uninstall:
|
||
|
rm -rf $(DESTDIR)$(THIRDPARTYDIR)/harena
|
||
|
|
||
|
.PHONY: all clean check install uninstall
|