build: update compile.sh to support bsd systems
build: switch from hardcoded gcc to default c compiler

On FreeBSD /usr used by base system, use PREFIX=/usr/local instead.
On BSD systems gnu "make" has the name "gmake".

	modified:   Makefile
	modified:   compile.sh

Signed-off-by: Oliver Pinter <op@crysys.hu>
2 files changed