Fixed error in Makefile; renamed variables that started with _

Fixed an error in the Makefile that might have prevented the program from
being built.

Renamed all variables whose names started with underscores ('_'), which I
didn't know were reserved at file scope.
Added license text to all files; removed bf_determine_targets from public
interface;

Nothing major.