summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: e9db10c77e23c28d5ed10109e6dfb056dc86b65c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PREFIX ?= /usr/local
BINDIR ?= /bin

CFLAGS = -Wunused-variable -Wunused-function

all: findhex

clean:
	rm -f findhex

findhex: findhex.c

install:
	install -m755 findhex -t "$(DESTDIR)$(PREFIX)$(BINDIR)"

uninstall:
	rm -f "$(DESTDIR)$(PREFIX)$(BINDIR)/findhex"

.PHONY: all clean install uninstall