]> www.wagner.pp.ru Git - oss/btcli.git/blob - btpasskey/Makefile
Added makefile to build Debian package
[oss/btcli.git] / btpasskey / Makefile
1 # this Makefile is for building btcli it depends on pkg-config libdbus-1-dev (and build-essential) packages 
2 BTPASS_VERSION?=1.2
3 prefix=/usr/local
4 btpasskey: btpasskey.c
5         $(CC) `pkg-config --libs --cflags dbus-1`  -g -DDBUS_API_SUBJECT_TO_CHANGE -DVERSION="\"$(BTPASS_VERSION)\"" -o btpasskey btpasskey.c 
6
7 install: btpasskey
8         install -m 755 -o root btpasskey $(DESTDIR)$(prefix)/bin 
9         install -m 644 -o root btpasskey.1 $(DESTDIR)$(prefix)/share/man/man1
10
11 clean:
12         rm *.o btpasskey