2020-04-18 21:41:04 +02:00
|
|
|
# bthandler
|
|
|
|
# See LICENSE file for copyright and license details.
|
|
|
|
|
2020-04-18 22:31:45 +02:00
|
|
|
VERSION = 1.1
|
2020-04-18 21:53:07 +02:00
|
|
|
|
|
|
|
# paths
|
2020-04-18 22:31:45 +02:00
|
|
|
PREFIX = ~/.local/bin/tools
|
2020-04-18 21:41:04 +02:00
|
|
|
|
|
|
|
SRC = bthandler
|
|
|
|
OBJ = $(SRC:.c=.o)
|
|
|
|
|
|
|
|
install:
|
|
|
|
mkdir -p $(DESTDIR)$(PREFIX)
|
|
|
|
cp -f bthandler $(DESTDIR)$(PREFIX)
|
|
|
|
chmod 755 $(DESTDIR)$(PREFIX)/bthandler
|
2020-04-19 10:13:49 +02:00
|
|
|
touch $(DESTDIR)$(PREFIX)/bt_blacklist
|
2020-04-18 21:41:04 +02:00
|
|
|
|
|
|
|
uninstall:
|
|
|
|
rm -f $(DESTDIR)$(PREFIX)/bthandler
|
2020-04-19 10:13:49 +02:00
|
|
|
rm -f $(DESTDIR)$(PREFIX)/bt_blacklist
|
2020-04-18 21:41:04 +02:00
|
|
|
|
|
|
|
.PHONY: install uninstall
|