summaryrefslogtreecommitdiff
path: root/Makefile
blob: 63779ddd21e2511c81f40730da2b2d9f38a5c19e (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)$(BINDIR)/$$bin; \
	done