Update genmake.pl

Added in compiler options, library link options.