Makefile: use pkgconfig instead of hardcoded paths

This commit is contained in:
Steve Markgraf
2013-01-05 19:55:15 +01:00
committed by antirez
parent f01670e425
commit c059d01feb
2 changed files with 5 additions and 15 deletions

9
README
View File

@ -18,14 +18,7 @@ The main features are:
Installation
---
Edit the Makefile and set the following variables according to your system:
LIBUSB_INC_PATH=/usr/local/Cellar/libusb/1.0.9/include/libusb-1.0
LIBUSB_LIB_PATH=/usr/local/Cellar/libusb/1.0.9/lib
LIBRTLSDR_INC_PATH=/usr/local/Cellar/rtlsdr/HEAD/include
LIBRTLSDR_LIB_PATH=/usr/local/Cellar/rtlsdr/HEAD/lib
Then save the modified Makefile and type "make".
Type "make".
Normal usage
---