about summary refs log tree commit diff stats
path: root/Makefile
blob: 786864d735f0f28e34ab924e072ba04a47230724 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# mrgrctrnl

PREFIX ?= /usr

BIN := mrgrctrnl

install: $(BIN)
	mkdir -p $(DESTDIR)$(PREFIX)/bin
	install $< $(DESTDIR)$(PREFIX)/bin/$<
	chmod 755 $(DESTDIR)$(PREFIX)/bin/$<

uninstall: $(DESTDIR)$(PREFIX)/bin/$(BIN)
	rm -f $<

burgercontrol: install
	ln -s $(DESTDIR)$(PREFIX)/bin/$(BIN) $(DESTDIR)$(PREFIX)/bin/$@