bthandler/Makefile

23 lines
428 B
Makefile
Raw Normal View History

2020-04-18 21:41:04 +02:00
# bthandler
# See LICENSE file for copyright and license details.
VERSION = 1.1
2020-04-18 21:53:07 +02:00
# paths
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