Building and installing Chirp

This relates to the source distribution of libchirp. For building the git repository see README.rst

Project home and documentation

Project home

Read the docs

How to build and install

By default it will be installed in /usr/local.

Example: Install in /usr

make STRIP=True
sudo make install PREFIX=/usr

Example: Packaging (no strip since distributions usually want to control strip)

make
make install PREFIX=/usr DEST=./pkgdir

Example: Debug

CFLAGS=-O0 make
make install PREFIX=/usr/local

#ifndef NDEBUG is stripped in source distribution, so still no debug code.

Windows

We want to support Windows, but we are currently not building on Windows. VS 2015 or newer should support all C99 feature we use.