markondej / fm_transmitter

Raspberry Pi as FM transmitter
1.32k stars 292 forks source link

Improve makefile a bit #26

Closed magik6k closed 8 years ago

magik6k commented 8 years ago

You can now add own CFLAGs and specify crosscompiller prefix. Using -pthread is more portable. This makes cross-compilation easier, for example to build static musl based arm binary form x86 system you can now do CCPREFIX=arm-musl-linuxeabihf- CFLAGS=-static make