summaryrefslogtreecommitdiff
path: root/Makefile
blob: 911c58b7bea4d3d8900a0fc908264de359fc5b50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
BINS := tf2_watch

ifeq ($(PREFIX),)
	PREFIX := /usr/local
endif

ifeq ($(BINDIR),)
	BINDIR := /bin
endif

install:
	mkdir -p $(DESTDIR)$(PREFIX)$(BINDIR)/
	for bin in $(BINS); do \
		install -m 755 $$bin $(DESTDIR)$(PREFIX)$(BINDIR)/; \
	done

uninstall:
	for bin in $(BINS); do \
		rm -rf $(DESTDIR)$(PREFIX)$(BINDIR)/$$bin; \
	done