summaryrefslogtreecommitdiff
path: root/Makefile
blob: 5a5f9bd25d9d2cc82f16dcc0882ef56ea681e2aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.POSIX:
.SUFFIXES:
HARE=hare
HAREFLAGS=

DESTDIR=
PREFIX=/usr/local
BINDIR=$(PREFIX)/bin

all: check

check:
	$(HARE) test $(HAREFLAGS)

clean:
	rm -f example-cmd

install:
	install -Dm755 example-cmd $(DESTDIR)$(BINDIR)/example-cmd

uninstall:
	rm -f $(DESTDIR)$(BINDIR)/example-cmd

.PHONY: all check clean install uninstall