Added initial Makefile
This commit is contained in:
parent
466cbbdcfd
commit
44a6b0e3b0
17
Makefile
Normal file
17
Makefile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# bthandler
|
||||||
|
# See LICENSE file for copyright and license details.
|
||||||
|
|
||||||
|
include config.mk
|
||||||
|
|
||||||
|
SRC = bthandler
|
||||||
|
OBJ = $(SRC:.c=.o)
|
||||||
|
|
||||||
|
install:
|
||||||
|
mkdir -p $(DESTDIR)$(PREFIX)
|
||||||
|
cp -f bthandler $(DESTDIR)$(PREFIX)
|
||||||
|
chmod 755 $(DESTDIR)$(PREFIX)/bthandler
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -f $(DESTDIR)$(PREFIX)/bthandler
|
||||||
|
|
||||||
|
.PHONY: install uninstall
|
Loading…
Reference in New Issue
Block a user