g0orx / pihpsdr

Raspberry Pi standalone code for HPSDR (Protocol 1 and Protocol 2)
GNU General Public License v2.0
105 stars 73 forks source link

Add support for out-of-source build and auto-generated dependencies #190

Open hutorny opened 8 months ago

hutorny commented 8 months ago

This PR suggests supporting for Out-of-source build via optional, externally provided BUILDDIR variable.

Usage example:

make -j$(nproc) BUILDDIR=/tmp/pihpsdr
sudo make install BUILDDIR=/tmp/pihpsdr