23 lines
428 B
Makefile
23 lines
428 B
Makefile
# bthandler
|
|
# See LICENSE file for copyright and license details.
|
|
|
|
VERSION = 1.1
|
|
|
|
# paths
|
|
PREFIX = ~/.local/bin/tools
|
|
|
|
SRC = bthandler
|
|
OBJ = $(SRC:.c=.o)
|
|
|
|
install:
|
|
mkdir -p $(DESTDIR)$(PREFIX)
|
|
cp -f bthandler $(DESTDIR)$(PREFIX)
|
|
chmod 755 $(DESTDIR)$(PREFIX)/bthandler
|
|
touch $(DESTDIR)$(PREFIX)/bt_blacklist
|
|
|
|
uninstall:
|
|
rm -f $(DESTDIR)$(PREFIX)/bthandler
|
|
rm -f $(DESTDIR)$(PREFIX)/bt_blacklist
|
|
|
|
.PHONY: install uninstall
|